For Programmers: Free Programming Magazines  


Home > Archive > VC Language > January 2006 > Help!!! -> error : _CrtIsValidHeapPonter -> see code attached









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help!!! -> error : _CrtIsValidHeapPonter -> see code attached
ReTF

2006-01-28, 7:07 pm

Hi,
I have one MDI app with same views, one of this view is derived from
CHtmlView, when I create the window whit this vew, I cant close it becouse
this show-me:
_CrtIsValidHeapPonter assert error.



How I can fix this?



Please helpe-me, Thanks



Att. was here

Carl Daniel [VC++ MVP]

2006-01-28, 7:07 pm

ReTF wrote:
> Hi,
> I have one MDI app with same views, one of this view is derived from
> CHtmlView, when I create the window whit this vew, I cant close it
> becouse this show-me:
> _CrtIsValidHeapPonter assert error.
>
>
>
> How I can fix this?


Fix the heap corruption issue in your code - somewhere you're over-indexing
a heap-allocated object or modifying an object that's been deleted.

No, I didn't read through your code to find your bug. Running your code
with Full Page Heap turned on might help you find your bug:

http://technet2.microsoft.com/Windo...41393c1033.mspx

-cd


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com