I encountered a problem while running my first mfc application in visual studio6.0. It reads something like this "debug assertion failed" at line 85 in appcore.cpp. It's just fine in release mode.When i tried to debug the error it's popping a message " This program has performed a illegal operation and will be shutdown"