Free types
BlitzMax Forums/BlitzMax Module Tweaks/Free types| 
 | ||
| Turns out it doesnt work. I'm not sure why, but it appears that perhaps when passing a type reference to a dll the type is copied?  I've tried other methods than the one written here.  I wrote a C function that sets the reference count to 0, still doesn't work.  Any idea why not mark? Original post: | 
| 
 | ||
| Bot Builder we loves you! | 
| 
 | ||
| lol :) your welcome | 
| 
 | ||
| Hmm, I wonder why you must use Release first and then Free...Free on it's own doesn't work. Edit: Well, it looks like it doesn't actually work after all... | 
| 
 | ||
| :( Nevermind. really all its doing is crashing it by freeing twice. |