LinMinquan's Blog

Experience technology to change life

Visual Leak Detector for Visual C++ 2008/2010/2012

如何使用:

菜单,Tools,Options,Projects and Solutions,VC++ Directories,在右边的Include files里添加

C:\Program Files (x86)\Visual Leak Detector\include

在Library files里添加

C:\Program Files (x86)\Visual Leak Detector\lib\Win32

然后在需要判断的.cpp文件里加上#include “vld.h”  这个要放在#include “stdafx.h”后面
最后会在VS的Output里看到结果。


Share