:[EMAIL PROTECTED] On
Behalf Of Alistair George
Sent: Wednesday, 12 November 2003 11:50
To: Multiple recipients of list delphi
Subject: Re: [DUG]: application shutdown
Hello Jeremy,
JC slightly different to Al's problem in that when windows trys to shut
JC my app, only the OnCloseQuery is fired
Title: Message
Hi All. Following on
from a question I asked yeterday where I said that when windows was shuttingdown
or restarting, it would not close my application down.
My problem is
slightly different to Al's problem in that when windows trys to shut my app,
only the OnCloseQuery is
the Windows is actually
shutting down.
- Original Message -
From:
Jeremy Coulter
To: Multiple recipients of list delphi
Sent: Wednesday, November 12, 2003 8:34
AM
Subject: [DUG]: application
shutdown
Hi All. Following
on from a question I asked yeterday where I
Yes, this is what I am doing, but not the return true bit. I will check
that bit out.
Thanks
-Original Message-
From: Trevor Jones [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Date: Wed, 12 Nov 2003 10:19:48 +1300
Subject: Re: [DUG]: application shutdown
Hello Jeremy,
JC slightly different to Al's problem in that when windows trys to shut my app,
JC only the OnCloseQuery is fired EVEN if I set CanClose:=true;
OCQuery is called regardless if you call close.
What you are probably dealing with here J is 'Attempt to free unexisting
resource'
Get
TJ MessageYou need to create a message handler for
TJ WM_QUERYENDSESSION and return true (I think - check the docs).
This is correct, but it is circumventing the original problem if I am correct in
my previous assumption of resource errors.
If thats the case, that method will also bite you