Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling an exe/app from an exe/app
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00880801
Message ID:
00880838
Views:
28
Hi Mel,

It depends how you call the second EXE. If you call it as Windows EXE using VFP RUN command (or ShellExeute/WSH) than the second exe runs independently. However, if you call second VFP EXE using DO command than the second EXE will share environment with the first one.


>Hi Sergey,
>
>>Check How to pass parameters to VFP EXE FAQ #17861<
>
>Thanks... that helped, but a followup questions on a little differenct vein:
>
>If I call a VFP exe from another VFP exe, and both of them have "different fll files" they are dependent upon, do you know if there is a chance these can interfer with each other (I mean the fll files)?
>
>I do have an inclination that when I have both of the Fll's being used in the same EXE there seems to be a little incompatibility - that is why I am testing one in the 2nd EXE.
>
>The reason I ask is, if both of these EXE's are using the same VFP runtime, isn't it true that when the second EXE is called that a new instance of VFP is not actually started?... in other words both EXE's are sharing the same VFP runtime?
>
>Thanks for any thoughts.
>
>Mel Cummings
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform