I noticed in arp…
When I ArpAlloc() and get the pointer to the tracker in A1, and then
FreeTrackedItem() using that tracker pointer in A1, the program crashes. It
works with the other arp functions that are tracked, like ArpLock() and
ArpOpen(), except for the memory allocation functions with a tracker??
Is this normal?
Luciano…
ArpAlloc () doesn't have two return values, when it returns, it returns the
actual value of the tracker to you, so you don't need to get it, because
you already have it.
Just use the pointer returned from ArpAlloc (), and you will be fine. This
is a feature that didn't make it into the docs, sorry.
sdb