I think you can do it if the code you import is C++, but I'm not sure how. You can probably just use the name of the object and pass it like any other argument. Don't quote me on that though.
Passing BMax objects to/from C code
BlitzMax Forums/BlitzMax Programming/Passing BMax objects to/from C codeThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.