CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2005
    Posts
    30

    Problems closing my program!!!

    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:

    Code:
    /* TCustomForm.Destroy */ inline __fastcall virtual ~TForm(void) { }
    Last edited by phoenixbr; July 3rd, 2005 at 02:02 PM.

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Problems closing my program!!!

    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.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured