   Visual Leak Detector issue
  I was using an old version of Visual Leak Detector but it failed to print the call stack when I ran the project on a Vista 32 machine (I previously used Windows XP Pro). So I installed the new VLD 1.9d, I included the Include/Library from from the Tools -> Project and Solutions option. Then I included ONLY the vld.h in my code. When I do that I get "The application failed to initialize properly (0xc0150002). Click OK to terminate the application". Why is this coming up? Do I need to include more? I copied the vld.h header over into my sorce folder and I just include it by doing #include "vld.h". I have also tried #include <vld.h>.   
  0xC0150002 means that there's a missing runtime dependency, usually a DLL. I don't use Visual Leak Detector, so I can only guess, but it sounds like VLD uses a DLL that either you don't have installed or isn't in the right path.   ;  Either make sure that vld.dll is in your debug folder or that the \bin path of where you installed VLD is in the "Executable Files" search path in your directories popup.   ;Quote:Original post by jtagge75Either make sure that vld.dll is in your debug folder or that the \bin path of where you installed VLD is in the "Executable Files" search path in your directories popup.I also tried this and it did not work.   ;  Open your executable with the Dependency Walker (Depends.exe I think) and look up which dlls are missing.   ;  Did u tryed to do what is written on the project's site??From http://www.codeproject.com/KB/applications/visualleakdetector.aspxTo use VLD with your project, follow these simple steps:   1. Copy the VLD library (*.lib) files to your Visual C++ installation's "lib" subdirectory.   2. Copy the VLD header files (vld.h and vldapi.h) to your Visual C++ installation's "include" subdirectory.   3. In the source file containing your program's main entry point, include the vld.h header file. It's best, but not absolutely required, to include this header before any other header files, except for stdafx.h. If the source file, include stdafx.h, then vld.h should be included after it.   4. If you are running Windows 2000 or earlier, then you will need to copy dbghelp.dll to the directory where the executable being debugged resides.   5. Build the debug version of your project.I think you're missing dbghelp.dll.   ;  Is that a Visual Studio plugin that already comes installed?EDIT: Vortez, yes I have tried that and I have even tried to contact the maker of VLD.   ;  After reinstalling it many times, it is now automagically allowing the program to run. However, it still just prints an empty call stacks. I am on Windows Vista 32bit and using Visual Studio 2005. Does anyone know why this is happening?WARNING: Visual Leak Detector detected memory leaks!---------- Block 38 at 0x01908460: 56 bytes ----------  Call Stack:   ;  Do not be afraid to all post at once. I am still trying to figure this out.   