Re: Renumbering resource IDs messes up Dialog Info

Tech-Archive recommends: Speed Up your PC by fixing your registry



"Mihai N." <nmihai_year_2000@xxxxxxxxx> wrote in message
news:Xns99D616AE4036MihaiN@xxxxxxxxxxxxxxxx
This looks like a combobox preload.
Not quite.
A combobox preload looks like this:

<dlgId> DLGINIT
BEGIN
<controlID> 0x403 <stringLenIncludingZero> 0 <theStringEndingwithZero>
...
END

403 is some kind of signature, which is missing here.

0x0403 sounds like the locale id for US English... if so, maybe these
DLGINIT *are* localizable simply by substituting the proper locale?
And the raw data given by OP seems to match your description:

1304, 0x400, 115, 0
0x1100, 0x4449, 0x5f43, 0x4944, 0x4e52, 0x4d41, 0x5f45, 0x414c, 0x4542,
0x014c, 0x0000, 0xc002, 0xc0c0, 0x0400, 0x4009, 0x09ff, 0x0000, 0x0000,
0xbc00, 0x0002, 0x0000, 0x0100, 0x0202, 0x5322, 0x7379, 0x6574, 0x006d,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x1000, 0x1500, 0x2000, 0xffff, 0x00ff, 0x0024,
0x0437, 0xff38, 0xffff, 0x3c00, 0x3d01, 0x5b01, 0x5c02, 0x4409, 0x7269,
0x6365, 0x6f74, 0x7972, "\377"


1304 is dialog id
0x0400 is "signature" (I think it is locale id, with 0x04 being English,
0x00 being sublocale 'neutral', but I could be wrong)
115 and 0 is stringLenIncluding0

Although the string doesn't end with '0' but maybe it doesn't if the type is
int.

-- David




.