Libs that return a pointer

BlitzMax Forums/BlitzMax Programming/Libs that return a pointer

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.

This ODE function returns a pointer to a 3D vector:
const dReal * dBodyGetPosition (dBodyID);

How do you retrieve the data once you get the byte ptr? I just need to read the memory at the returned value, the returned value + 4, and the returned value + 8.

Here's my code:

position:Byte Ptr=dBodyGetPosition(box)

Now what?