I'm getting intermittent R6025 (pure virtual function call) errors.
I've followed the instructions given by microsoft and added
implementations for all abstract functions and included a DebugBreak()
statement. However, I continue to get the errors. My code makes use of
DX9, but no other libraries. I've checked for memory leaks with a
couple of different tools, but after patching up a few, the problem
remained. So, the question is, what is giving me R6025? My
DebugBreak() statements never get hit and I find it unlikely that my
standard use of the DirectX library would throw these errors. All I
can think of at this point is that it's a memory/stack corruption.
Since it's intermittent, I can't place any breakpoints locate the
problem. I've tried to look for memory corruption using Software
Verify's Memory Validator, but when I try to run it with the tool, my
app crashes. Any ideas?