I've been using VLD for some time now and with very good results and no problems.
I'm trying to use it with a Windows service program and I'm experiencing strange issues.
Basically, no leaks are reported despite adding big test leaks into wmain or other functions.
The only CRT debugging faeure I use explicitly is this:
When I run my service under debugger, I see VLD messages like
Visual Leak Detector Version 2.2.3 installed.
I have also enabled VLD in a DLL that my service uses and VLD is reporting leaks originating
from that DLL:
Visual Leak Detector detected 10 memory leaks (600 bytes).
Largest number used: 3963156 bytes.
Total allocations: 4231756 bytes.
Visual Leak Detector is now exiting.
So, VLD is definitely enabled and crunching the memory, but why it is not reporting leaks from
module of the service?
What could be interfering with VLD, so it does not report anything?
Anyone could give me any hints how to diagnose such situation, where to look at?