Hi. I wrote a win32 program that uses some of the MFC functionality and the freetype library. the problem i'm having is that if I dont include stdafx.h, Everything works correctly as planned. but once I add in stdafx.h I get a heap corruption error when I try to delete my freetype objects. I do not have any memory leaks or any heap errors becuase the program itself is very simple and I went through it with a fine tooth comb.
Is there a possibility that something inside stdafx.h may be modifying (or overloading) some memory management functionality so that a heap error occurs? Is it possible that freetype does not work with this particular header?
I'm using the latest build of freetype.
Any help on this matter is greatly appreciated!!
Thanks.