Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible to Call External Program from VFP MTDLL?
Message
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:
01138625
Views:
15
That is powerful - it's amazing!

CallExternal() - Is that a function that would need to declared in the MTDLL - we are taking about a VFP MTDLL implementing the CallExternal() method, right?

That is amazing - any code to share?:-)

>Good SWAG! I thought I had tried running it with a full path in testing, but it wasn't a UNC fully qualified path. It makes sense though.
>
>BTW, I did check to see what would happen if you tried to display a form in the external prg. You will get an OLE Idispatch error 2031 ... "User-interface operation not allowed at this time."
>
>When you think about it, this is really powerful. You can have a generic MTDLL COM+ component with a CallExternal() method, which you can pass a prg or exe name for it to execute. No need to reregister the component and recompile the DLL every time you add a method. One gotcha though, the live DLL does keep a reference to the called prg and prevents you from recompiling it until you shut down the COM+ component service. Not a big deal though.
>
>Thanks,
>
>-m@
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform