R
Ralph Heger
Hi
An API-Function I want to use needs a structure as parameter:
public structure myStruct
dim i1 as short
dim i2 as byte
dim i3 as integer
dim buffer as byte()
end structure
buffer is an array of fixed length. But how could I correctly declare
buffer, so that is really behind i3 in memory? <VBFixedArray(512)> doesn't
work in that case, and declaring b1, b2, b3, b4,... as byte does work, but
who wouild really want to do that.
Any ideas?
thanks
Ralph
An API-Function I want to use needs a structure as parameter:
public structure myStruct
dim i1 as short
dim i2 as byte
dim i3 as integer
dim buffer as byte()
end structure
buffer is an array of fixed length. But how could I correctly declare
buffer, so that is really behind i3 in memory? <VBFixedArray(512)> doesn't
work in that case, and declaring b1, b2, b3, b4,... as byte does work, but
who wouild really want to do that.
Any ideas?
thanks
Ralph