Quantcast
Channel: Visual Leak Detector for Visual C++ 2008-2015
Viewing all articles
Browse latest Browse all 704

New Post: VLD does not work when the DLL project is present in the solution

$
0
0
Hi,
I have a project which uses multiple DLLs.
When I ran it under MSVC it reports memory leaks, So I downloaded latest VLD.

I added the line "#include <vld.h>" to every project (all DLLs and the executable binaries), copy 2 dlls dupplied with VLD and its pdb over to the directory where binary is, added the lib files to the linker folder of MSVC and ran the program.

I'm using MSVC 2010 on Windows 8.1.

The log of the execution I got can be found here: https://bpaste.net/show/8d06c6a7ab8d.

Turns out that VLD does not work at all when the project is using DLL.

If I run the program and just close it (no DLL will be .loaded) everything works.

I can give the link to the gihub where I have the sources to help investigate why VLD didn't produce anything in that case

Thank you.

Viewing all articles
Browse latest Browse all 704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>