dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: 500 First Chance Exception on application successful running but on exit in VC++6.0

  1. #1
    Join Date
    Nov 2009
    Posts
    8

    500 First Chance Exception on application successful running but on exit in VC++6.0

    Using VC++ 6.0 (MFC exe), I made an automation program. It runs successfully (word document created) in Release version but in Debug version, it works fine and closes but 500 lines of first chance exceptions are shown :
    (First-chance exception in AutoProject.exe (KERNEL32.DLL): 0x800706BA: (no name))
    Any expert can guide me w.r.t the error I have made.

    In OnOK()
    {//run the program
    OnClose(); //wherein deleting some pointers & calling CDialog::OnClose() at the end
    OnCancel();//calls DestrotWindow Fn wherein "return CDialog:estroyWindow();"
    }

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,258

    Re: 500 First Chance Exception on application successful running but on exit in VC++6

    Victor Nijegorodov

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)