Home > Software engineering >  There was a Debug debugging VS2010 an Assertion Failed how to solve?
There was a Debug debugging VS2010 an Assertion Failed how to solve?

Time:10-03


After the runtime appear, click retry to here

Continue to try again to this
Don't know where is the problem really out, had also run out before, after add a little bit of code to the problems, and then added the code comments also not line, strives for the great god help solve ah, come on ~!

CodePudding user response:

Feel AfxOleInit () is not initialized

Also can see the CallStack calls, it is ok to remove

CodePudding user response:

Where is the initialization? And the CallStack I couldn't find it, if not call ah, I only in Dlg. CPP to add code why problems would be in dlgdata. CPP inside?

CodePudding user response:

Collapsed in the pop-up dialog box, press the corresponding button to enter debugging press Alt + 7 key to view the Call Stack from the inside to the following out of from the inner to outer function Call history, double-click a row to the cursor to the Call of the source code or assembly instruction,

CodePudding user response:

Debugging have a look at the function parameters of nIDC value at this moment, if there was any abnormal,

CodePudding user response:

If have more than one with duplicate this ID number? If you have, instead of separate ID try first

CodePudding user response:

When the dialog resource from other project to come in, easy out of the question

CodePudding user response:

I also met the same problem, and can't read the code, don't know how to change,,,

CodePudding user response:

The Debug mode to open the call stack, look at the function call stack, find the error function call ~ first

CodePudding user response:

Pointer is empty of breakpoints, HWND is empty, you binding dialog box class didn't tell the actual controls

CodePudding user response:

Could you tell me the building Lord, solved the problem?
  • Related