[fpc-devel] WINDRES & WS_CAPTION
Peter Vreman
peter at freepascal.org
Wed Jan 12 18:14:31 CET 2005
>
>> > I used FPC 1.0.4 for a long time. Now I switched to 1.9.6.
>> > I have some programs which has a window without standard caption.
>> > The resource file defines the windows style az WS_BORDER, but the
>> > window (program is compiled with 1.9.6) has a caption!
>> >
>> > I opened the exe with Resource Hacker and found the resource
>> > dialog style is WS_BORDER | WS_CAPTION.
>> >
>> > The package 1.9.6 includes WINDRES 2.9.5, but when I replace it
>> > with 2.15.19 (from FPC 1.0.4) and compile the program again,
>> > there's no caption! :-)
>>
>> 1.9.6 comes with GNU windres 2.15.91 20040904
>
> Yes, it' my mistake.
> 2.15.91 compiles the resource always with caption, and the older
> windres (2.9.5) does it correctly.
> If is't a bug in windres, the release shuold come with the older.
How does not solve the bug? The only way to get this solved is to submit a
bug report to GNU binutils. It is not related to FPC itself.
More information about the fpc-devel
mailing list