Hi all-

I am making a new version of Launch 'Em and it will allow PQA launching...
but since I don't have the 3.2 headers, I'm not sure what some of the
appropriate values are:

#define sysAppLaunchCmdOpenDB ???

And if I want to launch a PQA, I need to do this, right:

typedef struct {
        Word cardNo;
        LocalID dbID;
} SysAppLaunchCmdOpenDBType;


paramsP = MemPtrNew(sizeof(SysAppLaunchCmdOpenDBType));
MemPtrSetOwner(paramsP, 0);
paramsP->cardNo = cardNo;       // gotten above
paramsP->dbID = dbID;   // gotten above
// so do I UI appswitch to clipper or do a sub-call?
SysUIAppSwitch(cardNo, dbID, sysAppLaunchCmdOpenDB, paramsP);
// or
SysAppLaunch(cardNo, dbID, 0, sysAppLaunchCmdOpenDB, paramsP, &result);

Also, can I expect that other developers could also support this launch
command, and that it could be used to open specific databases for a given
application? Is that the intended use of this new launch command?

Thanks,

Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293

Reply via email to