type pointer workaround?

BlitzMax Forums/BlitzMax Beginners Area/type pointer workaround?

Both has the same problem in the end:

If the BM object isn't there anymore and you try to access it, it will bomb.

So the only thing you need to take care of is that the delete method of your class TPXData cleans "itself" in the external module / library correctly.

Then it shouldn't be a problem.