Re: finding out if pointer to memory is valid
> ok, thx for those posts, i was not sure if there is a way to know it,
> because as i said, codeguard knows, but i think he tracks memory and
> stuff in some ways i cant. the reason i am asking is, that it would
> maybe more elegant to code it like this, if it is possible. but since
> its not i am using the old methods i used before.
> I already coded the interface a way, that it got pointers to all
> structures that point to it, so if i destroy the structure it will use
> that list first and set all pointers to itself to NULL before it's
> destroying itself.
|All times are GMT. The time now is 04:22 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.