Help~!! Please~~

  • Thread starter Thread starter NewBie
  • Start date Start date
N

NewBie

Dears.

How can I convert a structure to byte array in vb & cf ?
I have to use DeviceIOControl function in OpenNetCF to send some info to my
device. Those info must be a structure.

Thanks a lot ~~


Joey
 
Dear Alex.

Thanks for your link. It`s very helpful.
But I have another question.
How can I know the size of a structure?
 
If you have it in C, you can use the sizeof() operator on it. If not,
you'll have to add up the sizes of the elements, possibly accounting for
field alignment.

Paul T.
 
Back
Top