>You need to build an EXE (out-of-process) for DCOM, not an in-process DLL. See the docs in Chapter 16, "Adding OLE" and find "Compiling the Server":
If two clients instanciate DCOM at the same time, do two full VFP sessions need to wind up. I have heard that subsequent instanciations may only add 640KB to a single VFP session?
Its too bad the DLL cannot be a DCOM...
>
>There are benefits to each. An in-process server is faster because there is no inter-process communication overhead. On the other hand, an out-of-process server can be deployed remotely and an in-process server cannot. Additionally, because the in-process server and the client share a process address space, any serious error in the .dll will terminate the client whereas an error in an out-of-process .exe would only terminate the server.
>>
>For configuration, see "Configuring the Server" and "Configuring the Client" in the section "USING REMOTE AUTOMATION" in that same chapter.
Thanks for the points
Imagination is more important than knowledge