On Tue, Dec 17, 2002 at 03:22:54PM +0100, Martin Pohl wrote:
> I multi-segmented my application with "multigen". When installing the
> application on the Emulator everything works fine (ROM-image is taken from
> my own m505). If I install the application on the real m505, the m505 will
> restart and show a "fatal exception".

The big difference between "installing" an application on the Emulator
and installing it on a real device is that in the latter case your app
gets launched with sysAppLaunchCmdSyncNotify soon after installation.

Along with other restrictions, that launch code doesn't get globals;
if you use globals or functions in other code sections while processing
that launch code, you lose.  This is probably the usual cause of the
symptoms you are seeing.

If you want, you can try this out on the Emulator by doing a real
HotSync to install your app or by sending it a sysAppLaunchCmdSyncNotify
manually.

    John

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

Reply via email to