Properties of the generated .exe file
Moderator: Rathinagiri
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Properties of the generated .exe file
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
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
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Properties of the generated .exe file
I'm glad to know that solved an important issue.serge_girard wrote:Great ! This works fine, thank you all !
Serge
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.EduardoLuis wrote:Hola PabloCesar:
Excelente como siempre.- Muy buen aporte y gracias por compartirlo.-
Un Abrazo. Eduardo
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: Searching the internet, I found windres.h special file for UNICODE. 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:
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: Properties of the generated .exe file
Excelente Pablo César! Una vez mas.
Saludos
Saludos
Re: Properties of the generated .exe file
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
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
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Properties of the generated .exe file
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
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- serge_girard
- Posts: 3166
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Properties of the generated .exe file
Fantastic !
Serge
Serge
There's nothing you can do that can't be done...
Re: Properties of the generated .exe file
It's strange, but when I change translation from U.S. British to Polish:
before:
after:
some properties like LegalCopyright, ProductName are missing in .exe file properties.
before:
Code: Select all
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x809, 1252
END
Code: Select all
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x415, 1250
END
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Properties of the generated .exe file
Me alegro mucho Javier.Javier Tovar wrote:Excelente Pablo César! Una vez mas
You raised an important outstanding point. This is a good chance to have this as a reference.vierirom wrote:Thank you very much to share your knowledge.
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. 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
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein