Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Unhandled exception when exiting application???

Unhandled exception when exiting application???

Scheduled Pinned Locked Moved C / C++ / MFC
c++data-structuresquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    llp00na
    wrote on last edited by
    #1

    I have created an MFC application, dialog based. The application contains 4 child dialogs. and everything was fine. Now I tried to create a 5th dialog box. The program compiled and ran fine but when i try to close the main dialog window I receive: Unhandled exception at 0x7c22c81a (mfc71d.dll) The Call Stack refers to the InitDialog? :(

    llp00na

    G E 2 Replies Last reply
    0
    • L llp00na

      I have created an MFC application, dialog based. The application contains 4 child dialogs. and everything was fine. Now I tried to create a 5th dialog box. The program compiled and ran fine but when i try to close the main dialog window I receive: Unhandled exception at 0x7c22c81a (mfc71d.dll) The Call Stack refers to the InitDialog? :(

      llp00na

      G Offline
      G Offline
      gayatri neelema
      wrote on last edited by
      #2

      Hi , Wanted to know if all the handlers for the child windows are correctly returning the value. Is the 5th dialog box having some extra code , or is it not returning the value which it is supposed to .

      1 Reply Last reply
      0
      • L llp00na

        I have created an MFC application, dialog based. The application contains 4 child dialogs. and everything was fine. Now I tried to create a 5th dialog box. The program compiled and ran fine but when i try to close the main dialog window I receive: Unhandled exception at 0x7c22c81a (mfc71d.dll) The Call Stack refers to the InitDialog? :(

        llp00na

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #3

        looks like a memory leak.:~

        llp00na wrote:

        Now I tried to create a 5th dialog box.

        You are using Dialogs from the resource right? Just doing a domodal()? Or a modaless? what are you doing throw some more light.

        He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups