I'd guess this would be a frequent question, but apparently I was unable to find the correct keywords.
I am currently setting up all the official conformance tests for my little OpenGL library, and I am getting access violations (and similar exceptions) in malloc while executing the coverage tests. My guess would be that the heap structure gets corrupted due to writing beyond a memory block boundary or something fairly similar...
Anyway, both desktop VC++ as most *nixes have convenient debugging versions of the heap libraries that help significantly in tracking down these issues. VC++ 4.0, however, seems to be based off an older version of the heap libraries (obviously the reason why it crashes instead of giving a nice debug message).
Hence, is anybody in this forum aware of a useful debug library/tool that can assist in tracking down these type of issues? I could, of course, try to port the desktop version to pocket pc, but maybe there is a simpler solution...
Any suggestions?
Any help is highly appreciated,
HM
I am currently setting up all the official conformance tests for my little OpenGL library, and I am getting access violations (and similar exceptions) in malloc while executing the coverage tests. My guess would be that the heap structure gets corrupted due to writing beyond a memory block boundary or something fairly similar...
Anyway, both desktop VC++ as most *nixes have convenient debugging versions of the heap libraries that help significantly in tracking down these issues. VC++ 4.0, however, seems to be based off an older version of the heap libraries (obviously the reason why it crashes instead of giving a nice debug message).
Hence, is anybody in this forum aware of a useful debug library/tool that can assist in tracking down these type of issues? I could, of course, try to port the desktop version to pocket pc, but maybe there is a simpler solution...
Any suggestions?
Any help is highly appreciated,
HM