There was no resolution to this problem actually posted.
An SDI window ( main ), after closing the application, gets an error ( Windows Vista ) that says the application has stopped working and its checking for a solution.
Of course, it is a true message, but it was an intentional close and thus it should not appear.
This is a new behavior in 8.04. It worked fine in 8.03.
I did try the oWnd:PostMsg(WM_CLOSE) suggestion but that also generates the same error message from Vista
Tim
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit