<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.11">
<TITLE>RE: [fpc-devel] WINDRES & WS_CAPTION</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>> > I used FPC 1.0.4 for a long time. Now I switched to 1.9.6.</FONT>
<BR><FONT SIZE=2>> > I have some programs which has a window without standard caption.</FONT>
<BR><FONT SIZE=2>> > The resource file defines the windows style az WS_BORDER, but the</FONT>
<BR><FONT SIZE=2>> > window (program is compiled with 1.9.6) has a caption!</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > I opened the exe with Resource Hacker and found the resource</FONT>
<BR><FONT SIZE=2>> > dialog style is WS_BORDER | WS_CAPTION.</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > The package 1.9.6 includes WINDRES 2.9.5, but when I replace it</FONT>
<BR><FONT SIZE=2>> > with 2.15.19 (from FPC 1.0.4) and compile the program again,</FONT>
<BR><FONT SIZE=2>> > there's no caption! :-)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> 1.9.6 comes with GNU windres 2.15.91 20040904</FONT>
</P>
<P><FONT SIZE=2>Yes, it' my mistake.</FONT>
<BR><FONT SIZE=2>2.15.91 compiles the resource always with caption, and the older</FONT>
<BR><FONT SIZE=2>windres (2.9.5) does it correctly.</FONT>
<BR><FONT SIZE=2>If is't a bug in windres, the release shuold come with the older.</FONT>
</P>
<P><FONT SIZE=2>Andras</FONT>
</P>
<BR>
<BR>
<BR>
<DIV><P><HR>
Ezen uzenet es annak barmely csatolt anyaga bizalmas, jogi vedelem alatt all, a nyilvanos kozlestol vedett.<BR>
Az uzenetet kizarolag a cimzett, illetve az altala meghatalmazottak hasznalhatjak fel. Ha On nem az uzenet cimzettje, ugy kerjuk, hogy telefonon, vagy e-mail-ben ertesitse errol az uzenet kuldojet es torolje az uzenetet, <BR>
valamint annak osszes csatolt mellekletet a rendszerebol. Ha On nem az uzenet cimzettje, abban az esetben tilos az <BR>
uzenetet vagy annak barmely csatolt mellekletet lemasolnia, elmentenie, az uzenet tartalmat barkivel kozolnie <BR>
vagy azzal visszaelnie.<BR>
<BR>
<BR>
This message and any attachment are confidential and are legally privileged. It is intended solely for the use of <BR>
the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended <BR>
recipient, please telephone or email the sender and delete this message and any attachment from your system. <BR>
Please note that any dissemination, distribution, copying or use of or reliance upon the information contained in <BR>
and transmitted with this e-mail by or to anyone other than the recipient designated above by the sender is <BR>
unauthorised and strictly prohibited.<BR>
</P></DIV>
</BODY>
</HTML>