Runtime Error! - pure virtual function call?
-
Well I never thought it possible but I have a strange problem it appears to be a release problem as I have not seen it in debug. For some reason while using the application I get the following runtime error: Runtime Error! Program: R6025 - pure virtual function call I do not believe that I am calling the pure virtual function from the derived class as I do not get the problem all the time. Does anyone have any suggestions in tracking this down? Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain) -
Well I never thought it possible but I have a strange problem it appears to be a release problem as I have not seen it in debug. For some reason while using the application I get the following runtime error: Runtime Error! Program: R6025 - pure virtual function call I do not believe that I am calling the pure virtual function from the derived class as I do not get the problem all the time. Does anyone have any suggestions in tracking this down? Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)Do you have any pure virtual function definitions? The most likely cause is a runtime memory scribble. Something is causing the vtable to be overwritten with rubbish.
-
Do you have any pure virtual function definitions? The most likely cause is a runtime memory scribble. Something is causing the vtable to be overwritten with rubbish.
Jay Carter wrote: Do you have any pure virtual function definitions? Yes, quite a few in various classes. Jay Carter wrote: The most likely cause is a runtime memory scribble. Um, I hope this is not the case. Though I do agree with you, it is the most likely cause. Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)