blitz types to c++?

Blitz3D Forums/Blitz3D Programming/blitz types to c++?

The 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.

The whole point was that the c++ code is able to resize the blitz arrays, perhaps dynamically... and Blitz in non-debugger mode doesn't really seem to care. There's probably a catch somewhere, though...like that it doesn't work in debug mode :( The idea is maybe you could return any amount of data, resizing the arrays in the c++ data. You could perhaps have in the type an int telling how big the array is, then simply access it from blitz.

...I guess all I am after is a way to return any amount of data from a dll in one call without knowing how many before hand, but simply let the dll return the right amount and a reference to how much that is.