I had exactly the same problem. In fact commenting the line #include <vld.h> in all the cpp files was fixing it.
I solved the problem by copying (NOT moving)
Visual Leak Detector\bin\dbghelp.dll
into the executable directory, which I forgot to do.
The wrong dll was being loaded,
Hope it helps.
I solved the problem by copying (NOT moving)
Visual Leak Detector\bin\dbghelp.dll
into the executable directory, which I forgot to do.
The wrong dll was being loaded,
Hope it helps.