>* both an in-process and an out-of-process server can be instantiated on a client machine from the object definitions (EXE or DLL) stored on another machine
No, the OLE server must be registered on the machine that it will RUN on. If you want to instantiate it with the CLASS ID, that's all you need. If you want to instatiate an OLE server with the server name on a remote machine, it must be registered on the client machine. (Basically it looks up the class id in the registry to do the dcom instatiation)
>* the in-process server class is created in the memory space of the application running on the client machine.
Yes
>* the out-of-process server is created in the memory space of the server.
It is created in its own application space on the machine on which it resides.
>* if the server is across a WAN, communication between the UI and the in-process will be much faster than between the UI and an out-of-process server.
You can not have IN-Process Server on a remote machine!
>Thanks in advance!
With OLE don't confuse Client and Server objects with client and server machines.
You have the Client Object and the Server Object.
The Server object can be on the same machine or a remote machine.
On the SAME machine it can be an in-precess (dll) or out-of-process (exe)
On the REMOTE machine it can only be an out-of-process server (exe)
>- Mark
Hows that.. clear as mud?
BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only