Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you use ShellExecute()
Message
De
15/09/1998 06:47:16
 
 
À
14/09/1998 10:50:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00136184
Message ID:
00136628
Vues:
16
>I tried Delaring the command with declare ShellExecute in Win32s16 int, string, string, string, string
>and then calling it but keep getting an error something like "Invalid entry point". Just what is the syntax for calling this function?
>

I haven't tested under Win32s, but you might look at the LaunchAppAndWait function that I posted yesterday, which uses CreateProcess() rather than ShellExecute() to launch executables and wait on their completion (you can also just launch them using CreateProcess(), and not wait by ignoring the code after the CreateProcess() call.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform