Connect to a RO Server running the code in a DLL

Hi

We have a Delphi client in which we created all components at runtime in order to connect to a remote server.
It works very well.

Now, we need to connect to a server from a DLL, eg, the client will load a DLL and runs a function there. The DLL’s function should connect to server, run a function there and return a string or something else simple to host.

We didn’t code anything yet and are wondering if there is something that we should be aware of beforehand.
Our plan would be to copy the code that already put together the connection in the client to the DLL and try to run something simple just to make the connection and return a string from the server to the DLL and to the client.

Hi,

I can suggest to review Proxy Server sample (Delphi) .

it is almost the same as you want. You can put your proxy server into dll.

Thank you, I’ll give it a try.