hi all,
can anyone please tell me how can i block the launching of any application.

i tried this. here's the code but i don't know how to proceed.
/*****declaration**********/
SysNotifyParamType *notifyP;
EventType *eventP;
char String[20];
/****declaration ends*****/

case sysAppLaunchCmdNotify://i've already registered for this 

 notifyP = (SysNotifyParamType *)cmdPBP;
 eventP = (EventType *)notifyP->notifyDetailsP;
 if(notifyP->notifyType == sysNotifyAppLaunchingEvent)//notify when//any app 
launches
 {
   appInfo =(SysNotifyAppLaunchOrQuitType*) notifyP->notifyDetailsP;
   DmDatabaseInfo(appInfo->cardNo, appInfo->dbID, NULL, NULL,
                NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
                &creator);
   MemSet(String,sizeof(String),0);
   StrPrintF(String,"%u",creator);
   if(StrComare(String, //desired app's creatorID))//comparing to //see if the 
launched app is the one to be blocked
   {
        //block the applaunch. but how to block??
   }
 }

please someone tell me what to write within the if condn or is there any other 
method.

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

Reply via email to