I am trying overload the global new & delete operators to due memory
checking similar to what the MFC does. The overloaded new works when the
code for the new operator is in a static library that is single or
multi-thread and using the static C run-time library. The overloaded delete
generates a linker error stating duplicate function in the run time lib.
Neither operator will link when using the DLL run-time.
The MFC does this, so I know it can be done, but how?
Also, how can I put this code into a DLL so that it will work?
Thanks in advance.
David
--
------------------------------------------
David Buksbaum
------------------------------------------