For Programmers: Free Programming Magazines  


Home > Archive > VC Language > November 2005 > Re: How will it new/allocate memory on windows2003 when a class have









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 Re: How will it new/allocate memory on windows2003 when a class have
Scott McPhillips [MVP]

2005-11-22, 8:02 am

zhengfish wrote:
> I'll try to release the ccc by itself with release() member function:
> cccc.release{ delete this }
> There is the same result.
>


Check the value of the pointer when it is allocated and when it is
deleted. The error usually means the pointer value has changed, or that
it has been deleted two times.

--
Scott McPhillips [VC++ MVP]

Sponsored Links







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

Copyright 2008 codecomments.com