Re: Edit binary DLL to change time zone rules
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Thu, 18 Jan 2007 23:17:08 -0800
"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.
.
- References:
- Edit binary DLL to change time zone rules
- From: Kendall Bailey
- Edit binary DLL to change time zone rules
- Prev by Date: Re: shared_ptr
- Next by Date: Re: templates generating end-of-file found C1004 when compiling in 200
- Previous by thread: Re: Edit binary DLL to change time zone rules
- Next by thread: Shell commands and other executables
- Index(es):
Relevant Pages
|