Page 1 of 1

malloc/free overriding in MFC programs

Posted: Tue Jun 15, 2004 4:57 am
by Anonymous
It is quite well known that overridng standard implementation of malloc/free can be benefical in programming. I have written a short intro here:

malloc/free

I have had some success in overriding malloc/free in MFC programs, but this has been limited to a small program, in a larger one I get crashes in CString which I am struggling to understand :( in either case I run into problems with the linker reporting multiple definitions and have to force a link, which is not good.

I have been searching the net for ages to see if anyone knows anything about this subject, but so far with no luck.

jema

Archived topic from Iceteks, old topic ID:2423, old post ID:20482

malloc/free overriding in MFC programs

Posted: Sun Sep 26, 2004 4:27 am
by wtd
I hope this isn't too naive, since I've never done any MFC programming, but if we're dealing with C++, why not use "new" and "delete"?

Archived topic from Iceteks, old topic ID:2423, old post ID:21985