>>>>No, it's a DLL.........
>>>
>>>You can't run a dll through DCOM unless its in an MTS Package or COM+ application. DLLs run in-process...
>>
>>Or unless your DLL is instantiated by another out-of-process COM EXE on the same server, which could be done by calling the method in that COM.
>
>Yeah, but why go to all the trouble? Just use an exe or MTS.
>
>That's basically what MTS/COM+ does. It sets up a 'surrogate' process for your component by manipulating the component's registry settings so that when someone attempts to instanciate the object, MTS is called instead, and it in turn calls your component, and all calls are made through the MTS context.
Well, you might want have one COM exe which instantiates some DLLs to perform some functions when necessary.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison