i looked at a sample sysAppLaunch function but when incorporating it into my
app i get the error "sysErrParamErr". "QADB" is the DB name creating by
another application which is the app i'm trying to launch from the host. is
there something i'm doing wrong? it currently isn't running the application
i wish.
tia
Charles
DWord result;
LocalID dbID;
Err err;
EventType newEvent;
dbID=DmFindDatabase(0,"QADB");
if (dbID) {
// err=SysAppLaunch(0,dbID,0,0,0,0);
err=SysAppLaunch(0,dbID,sysAppLaunchCmdNormalLaunch,0,0,0);
switch(err) {
case sysErrParamErr:
FrmCustomAlert(TestAlert, "sysErrParamErr", NULL, NULL);
break;
case sysErrOutOfOwnerIDs:
FrmCustomAlert(TestAlert, "sysErrOutOfOwnerIDs", NULL,
NULL);
break;
case memErrNotEnoughSpace:
FrmCustomAlert(TestAlert, "memErrNotEnoughSpace", NULL,
NULL);
break;
}
FrmCustomAlert(TestAlert, "should've worked", NULL, NULL);
}else{
FrmCustomAlert(TestAlert, "prolly not opening", NULL, NULL);
}
---
You are currently subscribed to palm-dev-forum as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
For more information on the Palm Developer Forum's, see
<http://www.palm.com/devzone/mailinglists.html>