Memory Leak Detection VLD: application does not start properly (0xc0150002)

Source: Internet
Author: User

When doing the project found that the project was added VLD this tool to detect memory leaks, you want to learn to use.

An empty command line project was built, including the header file Vld.h,

Vld.lib and Vld_x86.dll to the project directory (because my system is 64-bit, so this hangs, find a long time to find is DLL mismatch, so the internet to find 64-bit DLL: "Vld_x64.dll", under it, OK)

Run, Error: application does not start properly (0xc0150002).

Baidu, no fruit, to his mother Baidu, no wonder professional personnel are despised with Baidu.

With their own inspection of the project configuration, because there are project projects are easy to use, why I build a project on their own is not useful.

I put the vld.lib and DLL files in the project everywhere copy and paste, invalid, and then completely deleted, got a long time to find me in the other path also has a copy, and this path I wrote into the system environment variable path, delete, only leave the project next copy. Compile & Run, hehe, get it done.

It's not clear why, just know that if there are multiple duplicate lib copies running under the search path of the project and the link's Lib path, there will be a problem.

PS: Attach Baidu out of the only VLD use method connection: VLD (Visual leakdetector) memory leak library usage

Actually I did not read this article to say what, just discovered on this one tutorial. Reference only

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.