"Murali" <[EMAIL PROTECTED]> wrote in message news:63985@palm-dev-forum... > > Hello everybody.. > > Is there any difference in the behavior of application when we try to debug > the application (keeping the device as the target) and when the application > is synchronized and is running on the device..? > Because I noticed that my application is not behaving consistently in the > above two cases. > where am I doing mistake..? > I am using code warrior 6.0 and I have Palm 3xe. > Please keep in mind that I am new to this environment > Awaiting the response
When you Hotsync your program to the device, it gets a notification from the system it has just been installed. This notification includes flags telling the application that using global variables is not safe. If you don't check this flag and call code that uses globals, you will crash your device after HotSync. Then you use the debugger to download the app, it doesn't get this notification -- it it just written to the device and then started with a normal launch. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
