>Can anyone tell what cause the run time "Debug Assertion Failed!" error message?
Usually it means you caused a library function to break by doing something that it's assuming won't happen. This can also happen in your own code if you use assertions (which is rare, sadly). Step through your code to find out where it's throwing the error and you'll be well on your way to figuring out what's wrong.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
Build your program in debug mode, and run in debug mode, you will find exact line which is causing assertion failure.
ithelp
Nearly a Posting Maven
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128