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

New Post: Visual Studio 2013

$
0
0
c273 wrote:
OK - a few observations (Windows 8.1 Pro)
  1. During the install, even though VS2013 wasn't running, it still prompted me to close it and waited until I pressed OK on that dialog.
  2. I selected to Add VLD to my path and to install for VS2013 (not VS2008). This allowed me to add the "#include <vld.h> to my source but it would not link as "vld.lib" was not found. Updating Microsoft.Cpp.Win32.user for the include & libraries resolved this. My question here is - why ask to install for VS2013 if this manual update is still needed?
  3. In the documentation (https://vld.codeplex.com/wikipage?title=Using%20Visual%20Leak%20Detector&referringTitle=Documentation), it states with regard to the Microsoft.Cpp.Win32.user file to add the appropriate directories to the "Include files" and "Library files". In VS2013, they are named "Include Directories" and "Library Directories".
  4. My program compiles and links now but won't run - error 0xc0150002 (DLL issue). The Event Log entry states:

Log Name:      Application
Source:        SideBySide
Date:          28/03/2014 10:22:24
Event ID:      33
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Description:
Activation context generation failed for "C:\Program Files (x86)\Visual Leak Detector\bin\Win32\vld_x86.dll". Dependent Assembly Microsoft.DTfW.DHL,processorArchitecture="x86",type="win32",version="6.11.1.404" could not be found. Please use sxstrace.exe for detailed diagnosis.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SideBySide" />
    <EventID Qualifiers="49409">33</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-28T10:22:24.000000000Z" />
    <EventRecordID>6143</EventRecordID>
    <Channel>Application</Channel>
    <Security />
  </System>
  <EventData>
    <Data>Microsoft.DTfW.DHL,processorArchitecture="x86",type="win32",version="6.11.1.404"</Data>
    <Data>C:\Program Files (x86)\Visual Leak Detector\bin\Win32\vld_x86.dll</Data>
  </EventData>
</Event>
Make sure you have "dbghelp.dll" as well as "Microsoft.DTfW.DHL.manifest" in the same folder as your executable file!

(If this was clear and you actually came to ask why this doesn't work "out of the box", please ignore my answer)

Viewing all articles
Browse latest Browse all 704

Trending Articles