The PilotMain does nothing if not in normal launch mode. So the only thing I can think of, is if something global or static was doing something during program initialization before PilotMain is called, that is causing the problem. But, shouldn't the compiler ensure that doesn't happen in modes where globals aren't available?

I don't know an awful lot about how Palm programs get bootstrapped. I only know about the general limits (e.g. 64K segments) and lack of A5 globals in other launch modes.

I'm using CodeWarrior 9.3, and I don't get any special errors at compile time.

What should I be looking into?

Why not try debugging it like it was being called after HotSync. The CW 9.3 debugger panel will let you do this. Pick the "call as subroutine" radio button, then specify sysAppLaunchCmdSyncNotify as your command.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to