Johnathan,
If you want to run a DCOM from the remote server, you have to compile it as .EXE, not .DLL. Register it with
mydcom.exe -regserver
The DLL can be run remotely only if it is run under another process (sometimes called surrogate process - say, if another DCOM EXE instantiates it) or run under MTS or COM+.
You also should typically place runtime files in Windows System32 directory.
>Hi ,
>
>I created a small DCOM , created a dfox directory on the server, copied the dll , tlb , vbr files to that directory. Also copied the runtime files to that directory.
>
>I then requested the Server administrator to register that dll (with regsvr32, since its a dll).
>
>The error message that he claims to get is:
>
>DllRegisterServer in d:\eng_apps\dfox\dfox.dll failed
>Return Code: 0x80004005
>
>Would anybody have any idea how to approach this issue?
>
>Thanks,
>
>Jonathan Cohen
>Intermagnetics, Albany NY
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