When I use VLD in my a dll, and I build a test project,then I use a interface function in the dll,and build the test projet.it prompt:
"WARNING: Visual Leak Detector: A module, test.exe, included in memory leak detection
does not have any debugging symbols available, or they could not be located.
Function names and/or line numbers for this module may not be available.
WARNING: Visual Leak Detector: A module, base_d.dll, included in memory leak detection
does not have any debugging symbols available, or they could not be located.
Function names and/or line numbers for this module may not be available.“
and the memory leak code in test project is not deletected!!!Not print the leak info in debug output and
file.The reason is VisualLeakDetector::~VisualLeakDetector function is not called. Why?
Comments: You'd better ask this in Discussions. You can set environment variable DBGHELP_DBGOUT=1 to check how Vld try load pdb files for your dll
"WARNING: Visual Leak Detector: A module, test.exe, included in memory leak detection
does not have any debugging symbols available, or they could not be located.
Function names and/or line numbers for this module may not be available.
WARNING: Visual Leak Detector: A module, base_d.dll, included in memory leak detection
does not have any debugging symbols available, or they could not be located.
Function names and/or line numbers for this module may not be available.“
and the memory leak code in test project is not deletected!!!Not print the leak info in debug output and
file.The reason is VisualLeakDetector::~VisualLeakDetector function is not called. Why?
Comments: You'd better ask this in Discussions. You can set environment variable DBGHELP_DBGOUT=1 to check how Vld try load pdb files for your dll