>I have build a small ActiveX Server (.EXE) just to learn how it work.
>
>When the .EXE is on my hard disk, CreateObject() work fine. But, when I put the .EXE on another computer, CreateObject() return "Server execution failed".
>
>What am I missing?
It could be any number of things, starting with how the object is
configured on the local machine. In order to run objects over DCOM
a local copy of hte object or at least the type library must exist.
If the object exists locally you can configure it all in DCOMCNFG
including the location (machine) of hte object.
The other issue is security. In order for you to run the DCOM
object on another machine it must allow access by your user
account (Local machine account!). There are Access and Launch
rights and then there are Impersonation accounts that deal
with the context of the server while running. Get any of those
wrong and DCOM will fail...
+++ Rick ---