On December 22, 2002 05:45 pm, Miken wrote: > 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.
You replace the "// do stuff" line with the code you want launched on power on. Make sure you replace sysNotifySleepRequestEvent with the right event! sysNotifySleepRequestEvent is triggered when the machine is about to be put to sleep. This is the exact opposite of what you want. Look in the online manual for a complete reference of notification codes. http://www.palmos.com/dev/support/docs/ -- Matthew (Darkstorm) Bevan [EMAIL PROTECTED] Margin Software, NECTI. http://www.marginsoftware.com Re-inventing the wheel, every time. - Intolerance is the last defense of the insecure. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
