|
-
September 29th, 2004, 10:34 AM
#1
What causes "Invalid Address specified to RtlValidateHeap"?
I'm working on a fixing up an application that someone else created (so I don't know the code that well yet) and have run into a problem when the application closes. I get a "User Breakpoint" in the function _CrtIsValidHeapPointer() during the scalar destruction of my CView class and the message HEAP[D32v2.exe]: Invalid Address specified to RtlValidateHeap( 00320000, 00ED011C ) shows up in the output console.
As suggested numerously by many different forums, I have tried both "Multithreaded DLL" as well as "Multithreaded Debug DLL" for the Runtime Library, but the problem still persists.
I have also been told that deleting a pointer twice could also cause the problem. Is there anything else I should look for in the code that could cause this problems?
There is alot of code to go through to solve this problem, so I'd greatly appreciate any help you could give.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|