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 [modified]

debug assertion failed [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
helpdebuggingtutorial
8 Posts 5 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.
  • Y Offline
    Y Offline
    yogendra kaushik
    wrote on last edited by
    #1

    hi all plz sovle my problem wheather i click on menu or button on one dialog box to goto next dilog box i use code void CAccountp::OnUseraccountChangepassword() { // TODO: Add your command handler code here differ.DoModal(); } when i click on menu it will display a dialog box but my problem is that after once it will an error that is debug assertion failed plz tel me wat is the problem and tel me how to solve it Please mail me -- modified at 9:40 Tuesday 20th June, 2006

    D C V H 4 Replies Last reply
    0
    • Y yogendra kaushik

      hi all plz sovle my problem wheather i click on menu or button on one dialog box to goto next dilog box i use code void CAccountp::OnUseraccountChangepassword() { // TODO: Add your command handler code here differ.DoModal(); } when i click on menu it will display a dialog box but my problem is that after once it will an error that is debug assertion failed plz tel me wat is the problem and tel me how to solve it Please mail me -- modified at 9:40 Tuesday 20th June, 2006

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      yogendra kaushik wrote:

      ...but my problem is that after once it will an error...

      What is it? What are you doing that causes this? Is the dialog modeless or modal?


      "The largest fire starts but with the smallest spark." - David Crow

      "Judge not by the eye but by the heart." - Native American Proverb

      1 Reply Last reply
      0
      • Y yogendra kaushik

        hi all plz sovle my problem wheather i click on menu or button on one dialog box to goto next dilog box i use code void CAccountp::OnUseraccountChangepassword() { // TODO: Add your command handler code here differ.DoModal(); } when i click on menu it will display a dialog box but my problem is that after once it will an error that is debug assertion failed plz tel me wat is the problem and tel me how to solve it Please mail me -- modified at 9:40 Tuesday 20th June, 2006

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

        yogendra kaushik wrote:

        an error that is debug assertion failed plz tel me wat is the problem and tel me how to solve it

        Tell us what the error is, then we might be able to help you. An assertion shows up to tell you that something went wrong. There is in general an indication of what went wrong. We cannot guess from what it is. A tip that will help you a lot: learn to use your debugger ! You cannot even imagine how helpfull it is once you feel confortable with it. You can use the callstack to see from which function (of yours) the problem could come.


        Cédric Moonen Software developer
        Charting control

        1 Reply Last reply
        0
        • Y yogendra kaushik

          hi all plz sovle my problem wheather i click on menu or button on one dialog box to goto next dilog box i use code void CAccountp::OnUseraccountChangepassword() { // TODO: Add your command handler code here differ.DoModal(); } when i click on menu it will display a dialog box but my problem is that after once it will an error that is debug assertion failed plz tel me wat is the problem and tel me how to solve it Please mail me -- modified at 9:40 Tuesday 20th June, 2006

          V Offline
          V Offline
          Viorel
          wrote on last edited by
          #4

          If you see a system dialog box with Retry or Break button, then click on that button, and then go to Call Stack panel (from menu: Debug --> Windows --> Call Stack) and see the history of last functions that were called before the error. This information can be useful.

          Y 1 Reply Last reply
          0
          • V Viorel

            If you see a system dialog box with Retry or Break button, then click on that button, and then go to Call Stack panel (from menu: Debug --> Windows --> Call Stack) and see the history of last functions that were called before the error. This information can be useful.

            Y Offline
            Y Offline
            yogendra kaushik
            wrote on last edited by
            #5

            i dont understand my dialob boxes are modal dialog boxes Please mail me

            V 1 Reply Last reply
            0
            • Y yogendra kaushik

              hi all plz sovle my problem wheather i click on menu or button on one dialog box to goto next dilog box i use code void CAccountp::OnUseraccountChangepassword() { // TODO: Add your command handler code here differ.DoModal(); } when i click on menu it will display a dialog box but my problem is that after once it will an error that is debug assertion failed plz tel me wat is the problem and tel me how to solve it Please mail me -- modified at 9:40 Tuesday 20th June, 2006

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

              you click in menu and get error but whats error(can you show your code that has error) Can you be more specific ( of course i guess but not sure do you create dialog in this option)_**


              **_

              whitesky


              1 Reply Last reply
              0
              • Y yogendra kaushik

                i dont understand my dialob boxes are modal dialog boxes Please mail me

                V Offline
                V Offline
                Viorel
                wrote on last edited by
                #7

                When you see the Debug Assertion Failed dialog box (displayed by system, not yours), then click Retry or Break buttons and try to get more information regarding the error, examining the line where the error occurred, and perhaps analyzing the Call Stack.

                Y 1 Reply Last reply
                0
                • V Viorel

                  When you see the Debug Assertion Failed dialog box (displayed by system, not yours), then click Retry or Break buttons and try to get more information regarding the error, examining the line where the error occurred, and perhaps analyzing the Call Stack.

                  Y Offline
                  Y Offline
                  yogendra kaushik
                  wrote on last edited by
                  #8

                  when i click on retry it will display a message but it will not tel me any problem as it tel that if i am in middle of program i will lost some information Please mail me

                  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