To use external C Structs, don't forget that a memory allocated in C is a Byte Ptr, it is not an Int. so assigning Byte Ptr to int will in most cases just be completely wrong.
(this is only possible with BM own objects which have a handlefromobject and objectfromhandle functionality)
(this is only possible with BM own objects which have a handlefromobject and objectfromhandle functionality)