>From your code:
>UInt32 PalmEnginePalmMain( UInt16 cmd, MemPtr /*cmdPBP*/, UInt16
>launchFlags )
>{
> tApp app;
>
<SNIP/>
Now... that tApp object is being created on the stack. If it's a big object
it could blow the stack. The default stack size if 4KiB, so you really
don't have to do much to blow the stack.
Try removing the tApp and seeing if your problem goes away. If it does, use
the following instead:
tApp* appP;
appP = MemPtrNew(sizeof(tApp));
Cheers
Russell
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/