C Runtime Error R6025 (original) (raw)

pure virtual function call

Remarks

Note

If you encounter this error message while running an app, the app was shut down because it has an internal problem. The most common reason for this error is a bug in the app, or a corrupted installation.

You can try these steps to fix this error:

Information for Programmers

No object has been instantiated to handle the pure virtual function call.

This error is caused by calling a virtual function in an abstract base class through a pointer which is created by a cast to the type of the derived class, but is actually a pointer to the base class. This can occur when casting from a void * to a pointer to a class when the void * was created during the construction of the base class.