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. debug assertion failed.. why?

debug assertion failed.. why?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studiodebugginghelp
4 Posts 4 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.
  • P Offline
    P Offline
    pathakr
    wrote on last edited by
    #1

    Through visual studio , I made changes to code and execute.. compiles properly but at execution it gives error debug assertion failed.. File : wincore.cpp Line : 875 I try 3-4 or some more times then i can run my program properly. WHy is this happening just after compile and execute. pathak

    C N 2 Replies Last reply
    0
    • P pathakr

      Through visual studio , I made changes to code and execute.. compiles properly but at execution it gives error debug assertion failed.. File : wincore.cpp Line : 875 I try 3-4 or some more times then i can run my program properly. WHy is this happening just after compile and execute. pathak

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      You have done something wrong with the new code you have changed. Start your debugger (F5) and check the call stack to see in wich of your function the program crashes. You don't provide enough information for us to help.

      Y 1 Reply Last reply
      0
      • P pathakr

        Through visual studio , I made changes to code and execute.. compiles properly but at execution it gives error debug assertion failed.. File : wincore.cpp Line : 875 I try 3-4 or some more times then i can run my program properly. WHy is this happening just after compile and execute. pathak

        N Offline
        N Offline
        Nick_Kisialiou
        wrote on last edited by
        #3

        Sounds like the problem is in the driver hands.sys ;P

        1 Reply Last reply
        0
        • C Cedric Moonen

          You have done something wrong with the new code you have changed. Start your debugger (F5) and check the call stack to see in wich of your function the program crashes. You don't provide enough information for us to help.

          Y Offline
          Y Offline
          yang__lee
          wrote on last edited by
          #4

          Man, I tried to debug.. but at the start point only it halts. AS you know when you make changes to code and click on execute.. it compiles links and then shown the program in execution. My program compiles , links properly but at execution after compiling gives the assertion error. so i hit 4-5 times execute then it executes without this assertion error. Is there anything about thread problem. My application shows splash window in the startup on different thread. regards Leya

          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