General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2003 Server
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@
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only