Subj : Re: simple: passing a pointer to a handle to another thread To : comp.programming.threads From : Ian Date : Sat Sep 10 2005 05:55 pm LeftHorn wrote: > hi, > > have a little problem. > > i have a main() function where i creates a class. > On the heap or stack? If it's on the stack and main exits... Ian .