Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap errors from spawned process
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01397450
Message ID:
01397613
Views:
49
Hi Jon,

Maybe I'm missing something but you cannot instantiate VFP as automation server on PC where VFP is not installed.
Anyway, the problem isn't in your code. Th error comes from the called .NET EXE.

>
>I'm not using it. The other developer's .NET executable is instantiating VFP to run a stored proc because the stored proc contains commands that are not supported by the OLEDB driver. After he's done, I believe he's using _vfp.quit() to end the instantiation. I haven't seen his source code so I can't tell you exactly what he's doing. All I care about is being able to run his executable successfully within my VFP method code and then do whatever housecleaning I need to do afterwards.
>
>Like I said, this error is only happening on a dev machine where VFP is installed.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform