Yes, the shared library make use of the sleep and wake notification. The code does modify a priviously set variable to get the information that the device has been powered off.. Therefor I have to lock, modify and unlock the memory.
What does "may be called in a differnt context" mean. Is there any documentation about this ? Regards, Hartmut Droege Ben Combee wrote: > At 15:02 2002-11-21 +0100, you wrote: > >Does PACE support shared libraries that are running under PalmOS 3.x and > >4.x ? > > Yes. Shared libraries work exactly the same on OS 5 as they do on the > previous OSes. > > >I currently have a shared library and and a test application where > >PalmOSSim shows a memory error (Nil Ptr) when switching of the device/ > >simulator using the ESC Key. This happens when the application is > >waiting for customer entry and the shared library is loaded. > > OK, "exactly the same" may not be right. It looks like you're using the > shared library "sleep" and "wake" notifications. From what I've seen, > these may be called in a different context on OS 5 devices than what > happened before. Are you doing anything special in these handlers? > > -- > Ben Combee <[EMAIL PROTECTED]> > CodeWarrior for Palm OS technical lead > Palm OS programming help @ www.palmoswerks.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
