c++ - "The application was unable to start correctly" after including vld.h -
i included vld.h, vld.lib , vld_x86.dll on win32 project visual studio 2010. builds when execute, crashes message:
"the application unable start correctly (0xc0150002). click ok close application."
i run dependency walker shows side side error follows:
error: side-by-side configuration information "d:\project\..\debug\vld_x86.dll" contains errors. application has failed start because side-by-side configuration incorrect.)
i have tried various ways including tinkering around manifest suggested here:
https://vld.codeplex.com/discussions/360243
it runs if commented following line on vld.h
// force symbolic reference global visualleakdetector class object // dll. ensures dll loaded , linked program, // if no code otherwise imports of dll's exports. //#pragma comment(linker, "/include:__imp_?g_vld@@3vvisualleakdetector@@a")
however, if commented out line, vld doesn't output @ (just no vld integration)
anyone having problem before? suggestions appreciated, in advance!
i had problem too, need add these files same directory vld_x86.dll/vl_x64.dll:
microsoft.dtfw.dhl.manifest
dbghelp.dll
which came win32/win64 bin folder visual leak detector. found from: https://vld.codeplex.com/wikipage?title=building%20visual%20leak%20detector%20from%20source
Comments
Post a Comment