Free types

BlitzMax Forums/BlitzMax Module Tweaks/Free types

Bot Builder(Posted 2004) [#1]
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:



fredborg(Posted 2004) [#2]
Bot Builder we loves you!


Bot Builder(Posted 2004) [#3]
lol :) your welcome


fredborg(Posted 2004) [#4]
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...


Bot Builder(Posted 2004) [#5]
:(

Nevermind. really all its doing is crashing it by freeing twice.