This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: Updated II windres tool Part 1 of 2


Nick Clifton <nickc@redhat.com> wrote on 23.05.2007 09:20:44:

> Hi Kai,
> 
> >>>>    <  0070 5300a200 ffff0000 63006c00 61007300  S.......c.l.a.s.
> >>>>    >  0070 5300a200 ffffffff 43004c00 41005300  S.......C.L.A.S.
>                               ^^^^
> > AFAIK does windows expects that the class name is an upper-case 
string.
> 
> > Therefore I suggest to adjust the test-case for that, because I 
interpret 
> > the class as an id and not as a simple string resource
> 
> OK, but what about those 4 bytes that are either 0x0 or 0xf ?  Not being 

> an expert on the binary resource format, I do not know their 
> significance.  Can you tell me ?

This is reasoned by an error in prior implementation. This is content of 
the control data structure which has the following layout:
        DWORD lStyle;
        DWORD lExtendedStyle;
        WORD x, y, cx, cy;
        WORD wId;
        (name or ordinal) class_id;
        (name or ordinal) text_id;
        DWORD nExtraStuff;
 

The wId is getting -1 as id specified from rc file (the second parameter 
of the CONTROL statement). 

Cheers,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer: 
Ulrike DÃhler, Manuela Kluger


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]