Re:COM-Server Warning, NT Service
Hi,
Quote
> I'm currently using D4 and I'm implementing a data server as NT Service.
> After a client connects it takes about 15 sec and a COM-Server Warning
pops
> up asking if I really want to shut down the program although clients might
> be connected.
1) The problem
Your problem is causes by incompatability of Delphi's ActiveX
framework and Delphi's services framework. This problem persists in D4, it
is
not fixed in D5 and AFAIK it will present in D6. I call
it "DCOM server NEAR service" and there are some important
features that differ it from "DCOM server IN service". More
information about this is available in my article at
http://www.aldyn.ru/articles/dcom_in_service/index.html
2) Possible solutions
One of possible solutions is an example written
by Binh Ly (search for his messages in this NG) but it
is still "DCOM server NEAR service" with all related problems.
Another (and really working) solution is my SvCom package
http://www.aldyn.ru/products/svcom/index.html
It was created to solve the DCOM in service problem and
suggests a lot of features, including debugging of service
with COM server directly from the Delphi IDE.
Regards,
Alexey Dynnikov <al...@aldyn.ru>
http://www.aldyn.ru/
SvCom - the Joy of Services