Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Somebody can helpme with a api call??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00165704
Message ID:
00165743
Vues:
12
>>ShellExecute doesn't return the value that GetExitCodeProcess needs. It returns the instance handle, not the process handle, which is what's required. If you were to start the process with CreateThread() I think (but am not 100% sure) that you'll get the value you need.
>
>CreateProcess(), not CreateThread(). CreateThread() launches a thread in the memory context of the current process. VFP has kittens if you try this...


Thanks Ed. I knew it was one of those two (I first typed CreateProcess()).

BTW, I finally got MS Client for Netware going (don't ask about the gruesome details:-)). I'll post back on that other thread as soon as I've got some more info.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform