General information
Category:
COM/DCOM and OLE Automation
>Hi:
>
>I´m trying to make a remote object. This object class is a dll library, and I only can do it in local station. To do this in remote mode, server must be an exe file. Why? Can I make a remote object with a DLL server?
>
>Thanks.
Xabi...
Into the realms of COM and the like... I hope the vernacular is right... but remember both EXE and DLL COM objects are 'servers'; just one is an in-process-server and the other is an out-of-process server.
With that in mind, let me rephrase your question:
?Why must I use 'EXE' to make an object available remotely?
Okay, you need to create any remote object (a COM SERVER) as an EXE. Why? Each server EXE runs in their own memory space - although you may create (instantiate) that EXE from within a client application, it (the Server EXE) is running its' own memory processes outside of your client memory processes (hence out-of-process server) -- remotely -- on the server machine.
A dll shares memory space with your application creating it. So, if you are trying a remote DLL located on a server machine, you are in fact using the object in the same memory space as your application creating it.... (in-process-server).
Now, this is very complicated for me to write, although I have a clear picture of it in my head... lol... so, I sincerely HTH.
Ric
Previous
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