Article View: borland.public.cppbuilder.nativeapi
Article #17108Strange access violation
From: Michel Corbin
Date: Wed, 09 Apr 2003 14:18
Date: Wed, 09 Apr 2003 14:18
17 lines
1476 bytes
1476 bytes
Hi everybody! I've written (with BCB3) an MDI application, the problem is : if I close the main window when one or several children windows are maximized, then I get an access violation message in a pop-up window. So, in the OnClose event manager (is it the right expression for the FormClose function?) of the main form I put all the children windows into the wsNormal state before closing the main form, and every thing is ok, I've got no more access violation problem! In a way, my problem is solved, but I'd like to understand. Has anyone already met such a thing? michel.
Technical Details
Message-ID:
<3E942BB5.B2E53A3F@libertysurf.fr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f9bb83eecfe92d46,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-09 07:25:33 PST Message-ID: <3E942BB5.B2E53A3F@libertysurf.fr> Date: Wed, 09 Apr 2003 16:18:29 +0200 From: Michel Corbin <corbin.michel@libertysurf.fr> X-Mailer: Mozilla 4.7 [fr] (Win95; U) X-Accept-Language: fr,en,es-ES,it,de-DE,pt MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Strange access violation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.47.231.74 X-Trace: newsgroups.borland.com 1049897991 212.47.231.74 (9 Apr 2003 07:19:51 -0800) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail