Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote DLL?
Message
From
14/11/2001 18:38:34
 
 
To
14/11/2001 11:48:18
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00581600
Message ID:
00581842
Views:
11
>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
Map
View

Click here to load this message in the networking platform