I'm trying to write a simple program that write in a PDB every time that a Palm resets.
My code is like that:
UInt32 PilotMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags) {
switch (cmd)
{
case sysAppLaunchCmdSystemReset :
// write my code here to write a PDB!
My question is - Is it possible to write a PDB when a reset event occurs?
{
case sysAppLaunchCmdSystemReset :
// write my code here to write a PDB!
My program works very well when I put my code to write a PDB on sysAppLaunchCmdNormalLaunch, but when I transfer the code to sysAppLaunchCmdSystemReset the code fails...
Is it any limitation of Palm OS??
Thanks!
--
Regis Melo -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
