CompuServe Thread

Arp & Trackers

2 messages in this thread
#94380From: Lou BertatoMar 16, 1990 5:22 PM
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…
#94494From: Scott BallantyneMar 17, 1990 8:10 PM
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