>>>>The question is: How I instantiate (CreateObject) the COM server from another machine?
>>>
>>>Put the server into MTS/COM+, and CREATEOBJECTEX("myCOMserver.myclass", "MyServerComputerName").
>>
>>Is this better than creating a Client setup from COM+ and then using CREATEOBJECT()?
>
>Hey guys, I've created a COM object that reads the registry setting of HKEY_LOCAL_USER. Now, the question. If the object is registered on a different machine, and the client calls it with createobject, which registry will it read? The one on the client's machine, or on the machine where it's registered?
The machine it executes on, in the context that it executes in. If you use DCOM, the client's registry isn't visible to the remote server.