>createobjectex is used with out-of-proc. sevrers (exe). Use createobject
That's not entirely accurate. CREATEOBJECTEX is used to instantiate a server that physically resides on another machine (DCOM). Usually this means that the remote server needs to a be an exe, but this is not always the case (an in-proc server can be configured to use a surrogate process like MTS or dllhost). CREATEOBJECTEX can bypass the registry CLSID lookup and instanciate a server on a remote box even when that same server is configured to run locally.
You can also use CREATEOBJECT to start a server on another machine, but with CREATEOBJECT, you can only pass a ProgID, and that ProgID must be configured in the registry to start a process on a remote machine.
Mark- did you get your CLSID from the remote machine, or your own?
Erik Moore
Clientelligence