Page 2 of 2
Re: Properties of the generated .exe file
Posted: Mon Jun 09, 2014 3:02 pm
by EduardoLuis
Hola PabloCesar:
Excelente como siempre.- Muy buen aporte y gracias por compartirlo.-
Un Abrazo. Eduardo
Hi PabloCesar:
Excellent job has always.- Great contribution and thanks for share.-
With regards. Eduardo
Properties of the generated .exe file
Posted: Mon Jun 09, 2014 3:50 pm
by Pablo César
serge_girard wrote:Great ! This works fine, thank you all !
Serge
I'm glad to know that solved an important issue.
EduardoLuis wrote:Hola PabloCesar:
Excelente como siempre.- Muy buen aporte y gracias por compartirlo.-
Un Abrazo. Eduardo
Gracias Eduardo por tus elogios. Si bien que todos crecemos juntos gracias a esta fantastica comunicacion, participacion y contribuicion de todos los colegas, que inclusive levantan cuestiones que insitivan a busquemos la excelencia. Gracias a todos.
Dear Claudio,
Probably you may help us in this. I have got good results with windres script but when I try to write any string with local accents (portuguese: çÇãÃôÔáÁéÉíÍóÓúÚ) and also this "©" UNICODE character it seems .rc file must be in ANSI because as following display:

- Screen5.PNG (37.13 KiB) Viewed 6096 times
Searching the internet, I found windres.h special file for UNICODE.

- Screen4.PNG (10.22 KiB) Viewed 6095 times
So, this our WindRes.exe is it in UNICODE or in ANSI mode ? Shall it be differentiated according it compiling mode ? Because, our rc file is been written in UTF-8 without BOM and probably this must kept in ANSI mode or shall be the right WindRes for UNICODE/ANSI. What do you think my friend ?
FYI, I setted to portuguese for langID code and I also tried for UNICODE for charsetID but not successful.
Even following:
Re: Properties of the generated .exe file
Posted: Tue Jun 10, 2014 5:08 am
by Javier Tovar
Excelente Pablo César! Una vez mas.
Saludos
Re: Properties of the generated .exe file
Posted: Tue Jun 10, 2014 7:36 am
by vierirom
Hi Pablo
You're Always right. It works perefctly.
If you use the ".RC" file, you cannot use anymore the "-icon=iconfile.ico" option but you need to include the icon resource inside the resource (.rc) file.
Thank you very much to share your knowledge.
Vieri
Re: Properties of the generated .exe file
Posted: Tue Jun 10, 2014 7:44 am
by Rathinagiri
My .rc file looks like this. And icon is working nice.
Code: Select all
FIND2 BITMAP FILESRES\FIND2.BMP
left BITMAP left.bmp
right BITMAP right.bmp
icai JPG icai.jpg
icailogo JPG icailogo.jpg
balance ICON balance.ico
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080904E4"
BEGIN
VALUE "CompanyName", "Sivakasi Branck of ICAI"
VALUE "FileDescription", "Companies Act, 2013 Referencer"
VALUE "FileVersion", "1.0"
VALUE "InternalName", "Insights"
VALUE "LegalCopyright", "CA S. Rathinagiri"
VALUE "OriginalFilename", "Viewer.exe"
VALUE "ProductName", "Companies Act 2013 Referencer"
VALUE "ProductVersion", "1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x809, 1252
END
END
Re: Properties of the generated .exe file
Posted: Tue Jun 10, 2014 8:59 am
by serge_girard
Fantastic !
Serge
Re: Properties of the generated .exe file
Posted: Tue Jun 10, 2014 10:18 am
by mol
It's strange, but when I change translation from U.S. British to Polish:
before:
Code: Select all
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x809, 1252
END
after:
Code: Select all
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x415, 1250
END
some properties like LegalCopyright, ProductName are missing in .exe file properties.
Properties of the generated .exe file
Posted: Tue Jun 10, 2014 11:25 am
by Pablo César
Javier Tovar wrote:Excelente Pablo César! Una vez mas
Me alegro mucho Javier.
vierirom wrote:Thank you very much to share your knowledge.
You raised an important outstanding point. This is a good chance to have this as a reference.
Rathinagiri wrote:My .rc file looks like this. And icon is working nice.
Hi Marek,
When you need to change the language, you need to change in two places: the
langID and
charsetID because if anything doesn't match then will not work properly.

- Screen3.PNG (13.09 KiB) Viewed 6039 times
I have found trouble with UNICODE characters, so I do not know if going to work properlly the values when any language accent be typed.
Another question if to know if is going to work in 64 bit also... anyone have already tested
