OK - a few observations (Windows 8.1 Pro)
- 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.
- 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?
- 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".
-
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>