Forcing an object into a handle and back

BlitzMax Forums/BlitzMax Programming/Forcing an object into a handle and back

also, anytime you do HandleFromObject() it counts as another pointer to your object. you must Release() the integer handle when you are done with it in order for the garbage collector to do its work. if you dont, you will end up with a memory leak.