1

Topic: Connection remote DCOM to a component

Good afternoon.

as it will correctly be connected to already created remote server (EXE).

Tried through FileMoniker and BindToObject, but it generates a new copy of the server though returns the pointer on requested, but the copy remains is launched.

REGCLS_MULTIPLEUSE I can not use since should  start of several components various on a name (I distinguish on FileMoniker).

2

Re: Connection remote DCOM to a component

Hello, sbrych, you wrote:

S> Posdkazhite as will correctly be connected to already created remote server (EXE).
S> Tried through FileMoniker and BindToObject, but it generates a new copy of the server though returns the pointer on requested, but the copy remains is launched.
S> REGCLS_MULTIPLEUSE I can not use since should  start of several components various on a name (I distinguish on FileMoniker).


If the server registers a file moniker on the object this object is immediately accessible. Thus should not start any new servers since it is implemented by the table of operating objects (ROT). Well - ROT depends on the user with whom we are knocked to a remote server, therefore there should be a correspondence between these users.


If you want to request new objects then it is necessary to receive object Application (Application) of the active server and at it to ask to create new object.


Consider object model Word - it very well lays down on your requirements.