Hi,

I am trying to get a notification whenever an
application is launched by using
sysNotifyAppLaunchingEvent.  However, I can't get it
to do the very basics.  Here is some sample code from
my PilotMain.

      case sysAppLaunchCmdSystemReset:
         SysCurAppDatabase(&myCardNo, &myDbID);
         SysNotifyRegister(myCardNo, myDbID,
sysNotifyAppLaunchingEvent,
                           NULL,
sysNotifyNormalPriority, NULL);
         break;

      case sysAppLaunchCmdNotify:
         switch(((SysNotifyParamType
*)cmdPBP)->notifyType) {
            case sysNotifyAppLaunchingEvent:
               DEBUG_BEEP;
               break;

            default:
               break;
         }
         break;

Any ideas what the problem might be?

Thanks.

Mike McCollister

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to