Not what I would call special! <g> Basically I check to make sure all dynamically created forms are indeed nil, and if not I call their own close events, then I write some info to an inifile, call an Archiving procedure that zips up a few files, and then finally I set CanClose to True. Note: All this is in the mainform's OnCloseQuery event. Come to think of it, I usually just place stuff like this in the mainform's OnClose event, but this time I didn't because there are certain conditions that can come up in which I don't want the app to shut down. That's why I put it in the OnCloseQuery this time. Could that be the culprit?
from: Robert Meek at: [EMAIL PROTECTED] dba "Tangentals Design" home of "PoBoy" freeware Windows apps and utilities located at: www.TangentalsDesign.com Proud to be a moderotor for the "Delphi Programming Lists" at: elists.org -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Thompson Sent: Tuesday, September 13, 2005 3:39 AM To: Borland's Delphi Discussion List Subject: RE: WinXP Pro Sp/2 w/Delphi 2005 patch 3 Are you doing anything special in any of your forms' close event? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Meek Sent: Tuesday, 13 September 2005 7:32 AM To: [email protected] Subject: WinXP Pro Sp/2 w/Delphi 2005 patch 3 Another curious situation. I have an application who's shortcut I've had the installer place into the current user's Startup Folder if they want it to start up with Windows automatically. This it does just fine. Also then when Windows was shut down or restarted, it would do so first shutting down this application gracefully as well. It's an embedded database app by the way. But in a new version of this same application I am now working on, although it does start up properly it will not allow Windows to shut down or restart unless it has been shut down first! I've looked for anything that might be causing this problem but nothing stands out as the culprit. Does anyone have any ideas as to what might prevent Windows from shutting down while this or any application is running? from: Robert Meek at: [EMAIL PROTECTED] dba "Tangentals Design" home of "PoBoy" freeware Windows apps and utilities located at: www.TangentalsDesign.com Proud to be a moderotor for the "Delphi Programming Lists" at: elists.org _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

