Board index » delphi » Closing server without getting getting prompt

Closing server without getting getting prompt

Is there and easy way of closing a server from the server without getting
the 'One or more applications may have referenced to thes objects' prompt.
I know this can be achieved with a callback, is there an easier way?

Thanks

 

Re:Closing server without getting getting prompt


For D5 and above, in DPR:

begin
  Application.Initialize;
  ...
  ComServer.UIInteractive := False;
  Application.Run;
end.

--
have fun
Binh Ly
http://www.techvanguards.com

"Borland User Groups" <steven.kn...@henleysystems.co.uk> wrote in message
news:3bbb0bf1$1_1@dnews...

Quote
> Is there and easy way of closing a server from the server without getting
> the 'One or more applications may have referenced to thes objects' prompt.
> I know this can be achieved with a callback, is there an easier way?

Other Threads