At 04:15 AM 4/30/2007, you wrote:
Subject: re: Fatal Alert only on Z22!
From: "Marina Ma" <[EMAIL PROTECTED]>
Date: Mon, 30 Apr 2007 07:24:06 -0000
X-Message-Number: 5
Hi, roger,
Thank you for your help!
But unfortunatelly, add the check: "memIDPtr ==
memLocalIDKind(IGame->game_actors[i])" is not useful for this
problem. the alert still appears
It still seems likely you are passing an invalid pointer to
MemPtrFree, but obviously not one so invalid it doesn't look like a pointer.
I presume you are now setting the pointer explicitly to NULL after
the free, so the possibility of a double free has been eliminated.
The other suggestion is to write out a trace file with the address of
each free'd pointer before you free it, and therefore see the value
of the pointer causing the alert.
Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/