[Site Home] [Forum Home] [Articles] [File DB] [News Archives]

Programming -> malloc/free overriding in MFC programs


(View original topic)


wtd - Sep-26-2004 server time
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"?

jema - Jun-15-2004 server time
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 sad.gif 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

(Showing 50 last posts, newest on top)