How to overload new and delete operator for a dll. I have written overloaded operators as part of the dll , but client linking with th
You could try and write your own malloc and delete functions and then create a C definition that basically contains the code to override new and delete and call these custom malloc and delete functions.
This way you could do something such as
MODULE_START()
// CODE HERE
MODULE_END()
and this should work smoothly.