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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top