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