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