Allow resource IDs to be strings or numbers.

Add a test for this.
This commit is contained in:
Nick Clifton
2003-03-31 10:15:58 +00:00
parent ed234cf863
commit 7adbf450a7
7 changed files with 72 additions and 28 deletions

View File

@@ -0,0 +1,9 @@
// Test created based on bug report submitted to binutils mailing list
// See: http://sources.redhat.com/ml/binutils/2003-03/msg00312.html
101 DIALOGEX 0, 0, 200, 200
BEGIN
CONTROL 108, -1, "Static", 77, 11, 11, 83, 162
CONTROL "stringid", 102, "Static", 0x5000120e, 5, 5, 10, 10
END

View File

@@ -0,0 +1,13 @@
0000 00000000 20000000 ffff0000 ffff0000 .... ...........
0010 00000000 00000000 00000000 00000000 ................
0020 86000000 20000000 ffff0500 ffff6500 .... .........e.
0030 00000000 30100904 00000000 00000000 ....0...........
0040 0100ffff 00000000 00000000 00008880 ................
0050 02000000 0000c800 c8000000 00000000 ................
0060 00000000 00000000 4d000050 0b000b00 ........M..P....
0070 5300a200 ffff0000 53007400 61007400 S.......S.t.a.t.
0080 69006300 0000ffff 6c000000 00000000 i.c.....l.......
0090 00000000 0e120050 05000500 0a000a00 .......P........
00a0 66000000 53007400 61007400 69006300 f...S.t.a.t.i.c.
00b0 00007300 74007200 69006e00 67006900 ..s.t.r.i.n.g.i.
00c0 64000000 00000000 d.......