I getting a byte ptr returned from a C library
this is one of many pointers set from max
here o is an instance of a type
dGeomSetData(o.geom,o)
when I get the data returned
Function CollisionCallback(data:Byte Ptr,g1:Int,g2:Int)
how can I turn data into a type?
Local o:odeent=odeent(data)
gives me...
Compile Error: Unable to convert from 'Byte Ptr' to '<unknown>'
this is one of many pointers set from max
here o is an instance of a type
dGeomSetData(o.geom,o)
when I get the data returned
Function CollisionCallback(data:Byte Ptr,g1:Int,g2:Int)
how can I turn data into a type?
Local o:odeent=odeent(data)
gives me...
Compile Error: Unable to convert from 'Byte Ptr' to '<unknown>'