"palmforum" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> We have very serious problem.
> The size of our application is near 190 K. It consists of 70 modal
> forms.
> We work with multisegment model.
> The application works in POSE but after soft reset it gets error
> 'fawsem (1.0) just read from memory location 0x8003b4be, causing a bus
> error...'
> When we try to hotsync application to palm (tungsten t) it crushes
> with message 'cleanning up - please wait'
> We did many attempts combining files into different segments but
> without success.
> Also we changed a lot times code mode (small-smart-large) and project
> (standard-expanded-exp. A5-jump). No success!
> We do not know the rules for creating multi-segmental applications.
> Could you please help us or give references to resources. We didn't
> find enough info at CW 9 help.

The reason your didn't find information in the CW9 help file is that this is
not really a CW issue.  It's a PalmOS issue, which is (probably) referenced
in the SDK documentation.

Your error is being caused because code called at reset or hotsync
(sysAppLaunchCmdSystemReset, sysAppLaunchCmdSyncNotify, and the others..)
must be in the first segment.  You're calling a function in another segment
under certain circumstances find it, and move it to the first segment.

This error is also caused by using globals, but surely you'd know not to do
that... wouldn't you?

Have a nice day!

Alan



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

Reply via email to