I register the sysNotifyResetFinishedEvent inside the sysAppLaunchCmdSystemReset routine & I placed SndPlaySystemSound(sndStartUp) inside the sysAppLaunchCmdNotify.
When I soft-reset my Visor, the system will broadcast sysAppLaunchCmdSystemReset the launch code so that my app can register the sysNotifyResetFinishedEvent. ( I have checked that it can register the event successfully ) At that time, I supposed that my app should go to sysAppLaunchCmdNotify routine to play the system sound. However, no system sound plays & it means that I can't catch the sysAppLaunchCmdNotify. I use Visor (Palm Os 3.1) for testing. Can you give me some idea on it? Thks Charles Jon Baer <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > What errors are you getting? Anything like object not in form or no event handler? > > - Jon > > Charles Woo wrote: > > > I am sure that I have called the SysNotifyRegister correctly in the > > sysAppLaunchCmdSystemReset launch routine. > > > > I register it at the sysAppLaunchCmdSystemReset routine but I can't catch > > anything inside sysAppLaunchCmdNotify routine. > > > > The code is something like this: > > > > if (cmd == sysAppLaunchCmdSystemReset ) > > // register the sysNotifyResetFinishedEvent event > > else if ( cmd == sysAppLaunchCmdNotify) > > // PlaySound here > > > > Any help, pls ? > > Charles > > > > Bob Ebert <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > > > > At 1:45 PM +0200 07/12/00, Charles Woo wrote: > > > >I have tried to catch the Launch Code "sysAppLaunchCmdNotify" but it > > seems > > > >can't work. > > > > > > Are you *sure* you've called SysNotifyRegister with the right params? > > > These notifications are only sent to apps that ask for them. (A huge > > > performance improvement.) RTFM :-) > > > > > > --Bob > > > > > > > > > > > > > > > > -- > > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ > > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/