com - How to reuse a (Delphi) OLE server with a second client? -


I wrote an OLE Automation Server (using Delphi) I usually start the OLE server manually and Use it as a normal application. From time to time, I start a customer who automatically connects to the existing OLE server.

When I terminate the client, the server does not end (at least when the client was manually started before), but will not accept any other OLE connection

< P> How can I reuse the same server with another customer?

(The question has been modified correctly to edit it. The original version was telling me how to stop the server from termination, which was not a good formulation)

< / Div>

In the client,

ConnectKind: = ckRunningOrNew

< P> and use an existing server instead of starting a new server.


Comments