Included Addiction in VS2010 - Visual Leak Detector

I am trying to use Visual Leak Detector 1.9h beta in a Visual C ++ project in Visual Studio 2010. When I create and run my own, the following error occurs in the project:

The program cannot start because vld.dll is missing from your computer. Try reinstalling the program on fid this problem.

README, which comes with VLD states for Visual C ++ 8 and 9:

Go to Tools β†’ Options β†’ Projects and Solutions β†’ VC ++ Directories. Select "Include Files" from the "Show Directories for" drop-down menu. Add enable subdirectory with visual leak Detector installation directory. Move this to the bottom of the list. then select β€œLibrary files” from the drop-down menu and add the lib subdirectory with a visual leak to the installation directory of the detector. Move it to the bottom of the list again.

Recommended menus are deprecated in VS2010. What would be the equivalent for VS2010?

I tried the following without success:

  • Right-click on the project \ properties \ Configuration Properties \ C \ C ++ \ General \ Include Additional Directories β†’ Add "; C: \ Program Files (x86) \ Visual Leak Detector \ include"
  • \properties\Configuration Properties\Linker\General\ β†’ "; C:\Program Files (x86)\ \lib\vld.lib"

, , ...

+3
1

, , , . , Windows DLL, .

, , , vld.dll. 64- . c:\windows\system32, c:\windows\syswow64, , 32- DLL. , PATH (Control Panel + System, Advanced), , Visual Studio, . . - vld.dll .

+1

Source: https://habr.com/ru/post/1778478/


All Articles