Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a Value from an EXE
Message
 
To
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:
00925105
Views:
21
Yes I know but if he's not trying to change those then the @ can be self documenting that he is going to change that param.

>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.
State of Florida, DCF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform