Board index » cppbuilder » Access violation on Close() Main Form (application)
Carina Rodrigue
![]() CBuilder Developer |
Fri, 22 Mar 2002 03:00:00 GMT
Access violation on Close() Main Form (application)
On Close( ) I get Access Violation Error (at 0x.....write of address
0x.....) Note that under C++ Project Options I have : Enable RTTI Enable Exceptions (Enable Location, Enable CleanUp, Enable Exception Prologs) This is what happens when I trace into Close() instruction with F7 : //------------------------------------------------------------------------- Close(); // close the main and only window (first F7) then WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) forms.hpp dstring.h and after some 3~6 seconds I get the message : Why is this happening ? /* TCustomForm.Create */ __fastcall virtual TForm(Classes::TComponent* and here the application blows again (so even before I get the access Thanks in advance, |