[interfacekit] Re: little help, again

Isaac Yonemoto <ityonemo@xxxxxxxxxxxx> wrote:
> 
> > msg->FindInt32("field", (int32*)&field);
> > 
> > Not nice, but since there is no FindUInt32, there are not that many 
> > options (the other one is to use FindData() -- not really better, 
> > I'd 
> > say).
> 
> And then pray to god that field doesn't get too big =3D). 

You managed to confuse me. :-) I would expect, both int32 and uint32 to 
be 32 bits wide (otherwise they were utterly misnamed ;-), so there 
shouldn't be any difference here.

> Are there
> endian-ness issues to deal with when doing this=3F

Not on the same machine or on different machines with the same 
endianess. Not even on machines with different endianess, as long as 
you are aware of this difference and swap the bytes.

CU, Ingo


Other related posts: