Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible to Call External Program from VFP MTDLL?
Message
From
21/07/2006 03:03:35
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01138193
Message ID:
01138310
Views:
11
>>>Hi All,
>>>
>>>Can anyone tell me if it's possible to call an external prg (or app or exe) from a VFP MTDLL registered as a COM+ application as long as the called program doesn't have any UI?
>>>
>>>When I try to do this, I get an inaccurate error message telling me "File external.prg does not exist". Just wondering if this breaks a rule that I'm not aware of.
>>
>>Just a SWAG - are you specifying a fully-qualified file name (including path, preferably UNC so it's not dependent on drive mappings)?
>
>All - can a DLL run an external GUI? I never tried to call a GUI from a DLL - I know that a DLL will not write back to it's client (without something like Winsoc doing the work) - but I did not know a DLL could spawn a GUI - I guess the spawned GUI would have it's own space - could it or would it - be able to instanciate the DLL that spawned it?

I have no idea. I just posted something the OP could try.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform