Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexecute and its return values
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00993229
Message ID:
00993236
Vues:
20
Any return value greater that 32 indicates success. It cannot be a program's return code because ShellExecute launches a program and doesn't wait for it to complete. For synchronous execution take a look at API_APPRUN in .VCX form File #9477.

>A VFP COM-component fires GhostScript. This all works fine but I now want to determine what the returnvalue means.
>
>This is the command:
>liRetVal = ShellExecute(0, "open", lcProg, lcParms, cGSFolder, 2)
>
>On my machine this command returns 42. What does this mean? Is this good or bad? Is there a list of the ShellExecute command. I have Googled and have found some values but 42 is not among them. Is 42 returned by GhostScript?
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform