Maddy25 wrote:
and include the "vld.h" in any one of ur cpp files (just for the main module, if u has multiple dlls, include that in each dll).
copy the vldhelp.dll, xxxx.manifest, vld.dll file to ur project's output dir (same as ur .exe file generated by ur code)
it seems that u didn't copy the 3 files to ur output dir.
Please some1 tell me how to use VLD ..do not forward links please.. Look , I have added the header file vld.h to my projects header file and then included it to my source .cpp file.. then I have included include directory path and library path and library files to Linker mentioned in the projects properties. I have also added Lib folders and include directories location to Virtual c++ include library and directory folder.. Then I have created a code which contains leak.. But the debugger o/p is:add the vld include path, lib path to ur property of the project
'LeakCheck.exe': Loaded 'C:\Users\parthkumars\Documents\Visual Studio 2010\Projects\LeakCheck\Release\LeakCheck.exe', Symbols loaded.
'LeakCheck.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'LeakCheck.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'LeakCheck.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'LeakCheck.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Cannot find or open the PDB file
The program '[6300] LeakCheck.exe: Native' has exited with code 0 (0x0).
Please some1 help me.. I have been struggling with this for 2 days now.. Please!!
and include the "vld.h" in any one of ur cpp files (just for the main module, if u has multiple dlls, include that in each dll).
copy the vldhelp.dll, xxxx.manifest, vld.dll file to ur project's output dir (same as ur .exe file generated by ur code)
it seems that u didn't copy the 3 files to ur output dir.