I am looking for some NativeBoost advice on the best way of using a
structure with an containing a char array like the following:

int level
int number
char[256] msgText
ulong elapsedTime

Currently I am using an NBExternalAddress returned by
NativeBoost>>allocate: because the external library holds onto the address
and using byteAt: to see what is going on in the structure while I get used
to the external library API.

I can think of a couple of options, create my own NBExternalType subclass
which I can use in an NBExternalStructure or subclass
NBExternalAddress/Object with methods to extract the appropriate data, or
have I missed the simple solution?

Thanks, Guy

Reply via email to