Deubug Assertion failed

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?

Literally speaking, the ONLY important part of that message is the part that you omitted.
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
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.
afx means that it uses MFC, which only comes with payed for versions of Visual Studio.
@ modoran: Good to know, I'll try to remember that one.

@ OP: We're still waiting for your code.
Topic archived. No new replies allowed.