|
-
Mar 10th, 2002, 07:56 AM
#2
MFC uses the ASSERT macro that does exactly the same. An assertion error is always a bad thing, and you should make sure you don't have any. If you ignore assertion errors, then you may get some weird errors in totally unrelated places that are hard to track.
Click "retry" when the assertion message comes, then "debug" in the next dialog. You will be placed at the line where the assertion failed. Using the call stack, you can then find out which function of yours called the function that asserted. You shold then set a breakpoint there and find out where the error comes from.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|