Board index » delphi » Com server and Windows shut down

Com server and Windows shut down

I am new to writing com servers.

When my server is running stand alone as an exe, Windows (95) will not
shutdown.

WM_ENDSESSION shows that Windows exit has already been cancelled.
I am not receiving WM_QUERYENDSESSION also implying something else has
cancelled Windows exit.

What have I failed to do?  I followed the wizard and all works
correctly apart from this.
Server is a normal app but has one method which can be called via com.

Thanks for any help.

 

Re:Com server and Windows shut down


Strange. Does your COM server have any active objects running in it?

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

Quote
John Reeve <JRe...@ar5.ndirect.co.uk> wrote in message

news:8hjeno$eat2@bornews.borland.com...
Quote
> I am new to writing com servers.

> When my server is running stand alone as an exe, Windows (95) will not
> shutdown.

> WM_ENDSESSION shows that Windows exit has already been cancelled.
> I am not receiving WM_QUERYENDSESSION also implying something else has
> cancelled Windows exit.

> What have I failed to do?  I followed the wizard and all works
> correctly apart from this.
> Server is a normal app but has one method which can be called via com.

> Thanks for any help.

Re:Com server and Windows shut down


Quote
> Strange. Does your COM server have any active objects running in it?

Only an ADO connection.  Removing that eventually led me to the
problem which was not a COM issue after all.  As I am new to COM
servers I wasn't sure if this was expected behaviour in a certain set
of circumstances.

Thanks.

Other Threads