Board index » delphi » Shutting down com server on windows exit or logoff
{*word*104}Plus
![]() Delphi Developer |
Tue, 17 Oct 2000 03:00:00 GMT
|
{*word*104}Plus
![]() Delphi Developer |
Tue, 17 Oct 2000 03:00:00 GMT
Shutting down com server on windows exit or logoffHi, y'all I have an out of process com server which visually runs in the system tray, when Windows is shutting down or logoff is occurring, system failes to Any clues? Igor Ps: pls reply to email, if you can : inaks...@sprynet.com or TIA. |
Michael Robinso
![]() Delphi Developer |
Tue, 17 Oct 2000 03:00:00 GMT
Re:Shutting down com server on windows exit or logoffHeyas, Just an idea, but you could try creating a dummy window whose only purpose I would suggest using the Win32 API for creating your dummy window, much HTH, Michael ______________________ Quote{*word*104}Plus wrote in message <6icj6f$i...@forums.borland.com>... |
{*word*104}Plu
![]() Delphi Developer |
Tue, 17 Oct 2000 03:00:00 GMT
Re:Shutting down com server on windows exit or logoffMichael, Thanks. I already have that - server has main window which gets hidden when Igor. QuoteMichael Robinson <_no_spam_s...@san.rr.com_no_spam_> wrote in message Quote>Heyas, |
Thomas Schimmin
![]() Delphi Developer |
Sat, 21 Oct 2000 03:00:00 GMT
Re:Shutting down com server on windows exit or logoffHi Igor, Quote> Thanks. I already have that - server has main window which gets hidden when You're probably using one of the freeware components to do it. It's message handler function is wrong. Specifically, it treats it's own message's (Click, DoubleClick etc.) but not the standard messages. So it implicitely answers 0 to WM_CLOSEQUERY (because it answers 0 to anything it doesn't understand). Add a case for WM_CLOSEQUERY and return 1 and the thing will close. Anyway. I'm not sure what a tray icon should do with messages it Thomas ----------------------------------------------------------------- "Your theory is crazy, but it's not crazy enough to be true." Bertolt Brecht |
1. Shutting down a Com server without shutting down the client
2. Com server and Windows shut down
3. Newbie question - COM warning upon shutting down windows
4. Shutting Down a COM Server Remotely
6. Shutting down an automation server before windows does
7. ExitWindowsEx() How to shut down on exit???