I have an MFC Server application that recently started popping up the following error messages:
More details for this error message can be found here.runtime error R6025
- pure virtual function call
The last change I made was calling a function that I had already implemented and called in two places before. Now I called it in case of unexpected errors. As I could not test "unexpected errors" ( believe me, we have a lot of expected errors including random crashes in random places ) it went live untested.
This error can not be caught using an exception handler.
It pops up a message box and halts the program bypassing catch clauses.
While the error looks pretty straightforward and easy to handle using the provided way of closing in on it, there is one problem with the solution suggested: I don't have any abstract base classes/pure virtual functions in my application !
Well, I'm stuck. I'll try to remove my last changes and see if it's running fine then hoping for no unexpected errors, but that solution isn't very satisfactory.
Any ideas ?