I need to check some values that I set in my application during runtime at the sysAppLaunchCmdSystemRest call. I have been using my apps prefs db, but when doing any reading from with in sysAppLaunchCmdSystemRest all my pref values are bogus. Meaning not what I set them to at the close of my application. I have even tried doing the AlmSetAlarm, it seems that in the sysAppLaunchCmdDisplayAlarm, 1.) it calls this sys switch state two times and 2.) the values retrieved by the second loop, from PrefGetAppPrefernces are again bogus. (NOTE: The first time through sysAppLaunchCmdDisplayAlarm the entire case statement is not completed before the second call starts).
So my questions: is there any way to store some value, I only need a 0 or 1, in an application then check this value at the sysAppLaunchCmdSystemRest level? Is it a true statement that one cannot use the PrefGetAppPrefernces call from within the sysAppLaunchCmdSystemRest? I do not want to use a DM call for dbs are all encrypted and it would require a bunch of globals from within sysAppLaunchCmdSystemRest to use them. Thanks in advance for any help or advise you might have. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
