R6025 pure virtual function= FS9 crash
Posted: 02 Sep 2007, 00:33
Every so often my FS9 will crash with this error message. Does anyone know what it might be, and if there is any way of fixing it?
The home of Classic British Freeware for Microsoft Flight Simulator
https://www.cbfsim.co.uk/cbfs_bb/
Best way is to remove the dodgy aircraft.CAUSE
This error occurs when your application indirectly calls a pure virtual member function in a context where a call to the function is not valid. In most cases, the compiler detects this and reports the error when building the application. But depending on how your code is written, sometimes the problem is detected only at run-time.
The error occurs when you indirectly call a pure virtual function within the context of a call to the constructor or destructor of an abstract base class. This is illustrated in the sample code below, along with some more description.
Or.. replace the gauges with newer types ;-)Best way is to remove the dodgy aircraft.