CompuServe Messages

#ARP Lib

#: 117901 S10/ProgrammingForum unknown
    07-Apr-88 23:28:31
Sb: #117823-#ARP Lib
Fm: Scott Ballantyne 70066,603
To: tim smith 76625,622

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

The resources are freed on a CloseLibrary() call, or ArpExit(), which closes the library for you (but careful with this last one from HLL's). I am not sure I understand your second question – do you mean how to free the resources, or just how to identify the task? Either way, I guess, it's similar, your library code runs in the context of whatever task is calling it, so FindTask(0L) will return the task that is requesting the resource. Ditto with resource freeing, except then you have to munge through the resource list, although this is a no-no I think for arplib users, you should go through the function interface. Glad you got the bindings working. sdb