Aug 31, 2014 at 3:54pm UTC
while compiling the program in debug mode
I got the following message
Debug Assertion failed \n
some text here
Abort Retry Ignore
I am not able to figure out the reason for it why it happening.?
Reason for debug assertion failure?
Aug 31, 2014 at 4:28pm UTC
Literally speaking, the ONLY important part of that message is the part that you omitted.
Aug 31, 2014 at 5:00pm UTC
the whole text is here
Debug Assertion failed
Progarm d:\MFC Projects\Spin Control\Spin Control.exe
File f:\dd\vctools\vc7libs\ship\atlmfc\include\afxcmn.inl
line 450
for more information how your program can cause assertion failure
see the visual c++ documention on asserts
(please Retry to debug the application)
Abort Retry Ignore
Aug 31, 2014 at 5:20pm UTC
Strange, I don't appear to have a package installed which contains that file (afxcmn.inl), so I can't look to see what assertion your code is failing on. You'll need to show us your code for us to help you.
Aug 31, 2014 at 5:44pm UTC
afx means that it uses MFC, which only comes with payed for versions of Visual Studio.
Aug 31, 2014 at 5:52pm UTC
@ modoran : Good to know, I'll try to remember that one.
@ OP: We're still waiting for your code.