Click to See Complete Forum and Search --> : Problems closing my program!!!


phoenixbr
July 3rd, 2005, 02:00 PM
Sometimes, when I close my program I have this message:

Project Project1.exe raised exception class EAccessViolation with message 'Access violation at address XXXXXXXX. Read of address XXXXXXXX'. Process stopped.

And after press ok the program stop at Forms.hpp:


/* TCustomForm.Destroy */ inline __fastcall virtual ~TForm(void) { }

cilu
July 3rd, 2005, 03:50 PM
Run in debugger and when it occurs press Debug. Look into the call stack (Alt+7) and search for the last called function written by you. You should get the point in your code where the error occurs.