2012年9月11日 星期二

fatal error C1001: An internal error has occurred in the compiler.

It may be caused by the object file.  remove the related obj file!
and sometime the obj files can't be deleted , close all of visual studio or restart windows.

2012年9月5日 星期三

How to detect memory leak

1. Use tool like UMDH to find the leak in new,delete,malloc,etc;
2. Check the code with "VirtualAlloc, HeapAlloc, etc";
3. Check for memory mapping file.