Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a Value from an EXE
Message
From
15/07/2004 15:34:19
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00924826
Message ID:
00924887
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform