Re: Edit binary DLL to change time zone rules



"Kendall Bailey" <krbailey@xxxxxxxxx> wrote:
...
struct A { int a,b,c,d; };
struct B { struct A x,y; };

static struct B tz = { {3,1,0,120},{10,0,0,120} };

I expect to find bytes like this 03000000 01000000 00000000 78000000
which is a hex string of the first four ints above in little endian
byte order. Any clue why I don't find it?

Exactly how are you searching? If you are searching by dwords, then
endianness is irrelevant. Look for 00000003 00000001 00000000 00000078. If
you are searching by bytes, THEN you need to swap, and look for "3 0 0 0 1
0 0 0 0 0 0 0 78 0 0 0".

The ONLY time endianness is a consideration is when you have data that was
created with one size, and you want to treat it as another.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages