VS2010 Global Configuration Vld method

Source: Internet
Author: User

1, first go to http://vld.codeplex.com/releases link Download VLD installation package, install and record the installation location

2, use vs2010 casually open a project solution, select View-"property manager , such as

3, double hit the Microsft.Cpp.Win32.user, pop up the following interface

4, click on the VC + + directory, the executable directory, including directory and library directory to add the absolute path of VLD installation location (specifically Win32 directory or Win64 directory is determined by VS, not the operating system, general selection Win32 directory)

5, save the above settings, in the need to detect memory leaks in the project to add #include<vld.h>, but must be placed under the preprocessing header file, such as "stdafx.h", after the end of the run can see if there is a memory leak

Note: The above method can set many third-party libraries globally, such as Cocos, OPENCV, etc.

VS2010 Global Configuration Vld method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.