Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
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@
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement