Hi, does anyone know how to override the C run-time functions. I need to write my own malloc() function with the same function signature as Microsoft's C run-time malloc(). Any suggestion/help? When I link my program I get error message indicating a duplicate function.