On 9/27/05, James Hawkins <[EMAIL PROTECTED]> wrote: > On 9/27/05, Ann & Jason Edmeades <[EMAIL PROTECTED]> wrote: > > > > If I change this to > > fred = RegisterClassEx16( &wcex ); > > TRACE("Here... %d\n", fred); > > return fred; > > > > it all works.....! > > > > This sounds like the stack is getting trashed.
I just read through your post again and saw that the app was hanging, and by hanging I'm assuming it's stuck in the code somewhere, whereas I thought the app was crashing. It might not be the case then that the stack is getting trashed, though you can still use the debugging technique mentioned. -- James Hawkins