Hello.
I'm trying to create a DLL by using VC++ 6.0 on
Windows NT4.0+SP6a.
When trying to execute my DLL (Debug), I get this
error message:
Debug Assertion Failed!
program xxxx.exe
File: dbgheap.c
Line: 1011
Expression: _CrtlsValidHeapPointer(pUserData)
I've been browsing Microsoft's site (Q154744), and this
is the likely cause:
The CWinApp destructor in MFC included with Visual C++ 4.2 and later now frees
the data assigned to the member variables shown above by passing the pointer to
the free() function. Doing this prevents memory leaks, which would occur if an
MFC regular DLL were dynamically loaded and unloaded.
I've been suffering memory problems with the release DLL
(my customers notice that it wastes a lot of memory).
Does anybody have any experience?
Thank you very much.
I'm trying to create a DLL by using VC++ 6.0 on
Windows NT4.0+SP6a.
When trying to execute my DLL (Debug), I get this
error message:
Debug Assertion Failed!
program xxxx.exe
File: dbgheap.c
Line: 1011
Expression: _CrtlsValidHeapPointer(pUserData)
I've been browsing Microsoft's site (Q154744), and this
is the likely cause:
The CWinApp destructor in MFC included with Visual C++ 4.2 and later now frees
the data assigned to the member variables shown above by passing the pointer to
the free() function. Doing this prevents memory leaks, which would occur if an
MFC regular DLL were dynamically loaded and unloaded.
I've been suffering memory problems with the release DLL
(my customers notice that it wastes a lot of memory).
Does anybody have any experience?
Thank you very much.