Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible to Call External Program from VFP MTDLL?
Message
De
21/07/2006 03:03:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01138193
Message ID:
01138310
Vues:
12
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform