I am using VC++5 with SP3. I am not using MFC.
I have a non MFC dll that uses the multi threaded runtime DLL, written in C++. In some of my functions I have static data. When my DLL exits, the memory allocated by these statics (and deallocated in their desturctors) are being reported as being leaked. Why is this? I can trace and see that the destructors are being called. I even put a breakpoint on the operator delete and witnessed (in the debugger) that this was being deleted.