Saturday, May 22, 2010

Anyone know anything about Runtime Errors?

During Start-up a box appears saying 'Microsoft Visual C++ Runtime Library'. Underneath it says 'Runtime Error' followed by C:\program files\real player\real time.exe. R6025- pure virtual function call. I click on OK, it disappears and everything seems to work fine, all except my computor has slowed down and sometimes takes ages to Start-up, Shut down. What does it mean and how can i fix it?

Anyone know anything about Runtime Errors?
Yes. I know something about them: they're extremely annoying.





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. Calling a pure virtual function is a programming error, so you need to find the call to the pure virtual function and rewrite the code so it is not called.





One way to find a call to a pure virtual function is to replace the pure virtual function with an implementation that calls the Windows API function DebugBreak. When using the debugger, DebugBreak will cause a hard-coded breakpoint. When the code stops running at this breakpoint, you can view the callstack to see where the function was called.





Another way to find a call to a pure virtual function is to set a breakpoint on the _purecall function that is found in PureVirt.c. Breaking on this function has the advantage of keeping the stack intact so that you can trace what is occurring.
Reply:The person who gave you the first answer is correct. However to rectify the issue you are having (which is related to Real Player) can be fixed by you removing Real Player from your PC (uninstall it) and then re-install it afresh, if you so desire.
Reply:some programme that loads at start up is misbehaving

order flowers

No comments:

Post a Comment