Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return a Value from an EXE
Message
De
15/07/2004 15:34:19
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00924826
Message ID:
00924887
Vues:
17
Hi Richard, Bob,
Actually when you run a program WITH x, y, z, you are passing by reference. So DO My.EXE WITH x can change x to anything.



>Have you tried calling it with params passed by reference. You may have to do a slight revision to the exe to allow for the param being returned by reference.
>
>
>Do myEXe.exe with tcParam1, tcParam2, @tcMyREturnVal
>
>
>HTH
>
>Richard
>
>>If I have a EXE that I call from within Foxpro8 that returns a String value, How do I make the call to get the value. Example "Do MyExe.EXE with tcParam1, tcparam2" Calls the exe Fine, but "Do MyExe.EXE with tcParam1, tcparam2 To myReturn" is not allowed as is "MyReturn = Do MyExe.EXE with tcParam1, tcparam2"
>>
>>Any advice would be highly appreciated.
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform