使用VLD測有没内存泄露的时候,出现(File and line number not available): (Function name unavailable) 查看VS控制台,发现 已载入"C:/WINDOWS/system32/dbghelp.dll" 说明VS载入了WINDOWS的dll而不是最新的VLD的dbghelp.dll 解决方式: 仅仅需把VLD 安装路径下的 dbghelp.dll复制到你的程序的Debug目录里 就轻松搞定.
Memory leakage has been a permanent annoyance for C/C++ programmers. Under MSVC, one useful feature of MFC is report memory leaks at the exit of an application (to the debugger output window, which can be displayed by the integration environment or a