> Btw, the syncobj demo you send me yesterday gives an access violation. Maybe I messed up some FreeOnTerminate stuff, will have to look at it again. johannes