I am developing a .NET 4
Application (WPF
) that is using an old C++-Library
.
This library is buggy and at times I get pure virtual function calls. (And there is nothing I can do about that library...)
I have setup a Handler using _set_purecall_handler
from msvcr100.dll
. During debugging I can also confirm that my handler is called.
After leaving my handler however, the applications shows the MessageBox
informing of the pure virtual function call and then exits the application.
How can I prevent this messagebox
from showing and continue to run the app?