K
Kendall Bailey
A shot in the dark. I have a C++ DLL that I'd prefer not to recompile.
It's compiled also on a Unix platform as a shared object. It has
static variables holding time zone Daylight Saving rules. I thought I
might try to use a hex editor to update the rules for the change coming
up in March. There's a pair of structs, each with 4 ints which
describe the start/end of DST. It's clear as day in the Unix shared
object, but I can not find it in the Windows DLL. It was compiled with
msvc++.net 2003. Taking endianess into account, and alignment I search
through a hex dump and the structs don't show up in any form. For
example
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?
Thanks,
Kendall
It's compiled also on a Unix platform as a shared object. It has
static variables holding time zone Daylight Saving rules. I thought I
might try to use a hex editor to update the rules for the change coming
up in March. There's a pair of structs, each with 4 ints which
describe the start/end of DST. It's clear as day in the Unix shared
object, but I can not find it in the Windows DLL. It was compiled with
msvc++.net 2003. Taking endianess into account, and alignment I search
through a hex dump and the structs don't show up in any form. For
example
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?
Thanks,
Kendall