Thanks for Bevan 's help!
I add all code you give,but after I reset my simulator,my software don't
been launched!
In HandleNotification function,what do I need add replaced "//do stuff"?
Thanks.
>---------------------------------------------------------------------------
-------------------
// The function that handles the notifications
static void HandleNotification(SysNotifyParamType *np) {
switch ( np->notifyType ) {
case sysNotifySleepRequestEvent:
// do stuff
break;
default:
// do nothing
break;
}
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/