Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DCOM on the Server
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00757766
Message ID:
00757772
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform