I believe that BlitzMAX types have several other 'internal' fields in addition to those you specify in the code.
The easiest option would probably to create a block of memory using MemAlloc and then insert the data there.
It would be nice to have a function which converts BlitzMAX types to C Structs though.
The easiest option would probably to create a block of memory using MemAlloc and then insert the data there.
It would be nice to have a function which converts BlitzMAX types to C Structs though.