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. Receiving an ASSERT failure in wincore.cpp

Receiving an ASSERT failure in wincore.cpp

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginghelpquestion
2 Posts 2 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.
  • R Offline
    R Offline
    Reagan Conservative
    wrote on last edited by
    #1

    When running my .exe, which is dialog based, I receive an abort message and it won't let me debug the program. It just basically leads me to exit the program. I receive a location of 0x008a56a9 and when I click on the error dialog box, it leads me to wincore.cpp at the following function and location: [pre]BOOL CWnd::Attach(HWND hWndNew) { ASSERT(m_hWnd == NULL); // only attach once, detach on destroy ASSERT(FromHandlePermanent(hWndNew) == NULL); [/pre] Can someone lead me in a good direction to see where this program is really crashing? Thanks.

    John P.

    H 1 Reply Last reply
    0
    • R Reagan Conservative

      When running my .exe, which is dialog based, I receive an abort message and it won't let me debug the program. It just basically leads me to exit the program. I receive a location of 0x008a56a9 and when I click on the error dialog box, it leads me to wincore.cpp at the following function and location: [pre]BOOL CWnd::Attach(HWND hWndNew) { ASSERT(m_hWnd == NULL); // only attach once, detach on destroy ASSERT(FromHandlePermanent(hWndNew) == NULL); [/pre] Can someone lead me in a good direction to see where this program is really crashing? Thanks.

      John P.

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      Can you more explain about your project?

      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