I am using a ready code that will be able to read and modify Delphi. . The thing is that I need to create an application that will compile many Delphi projects at one time (using DACCXX 32.XA file) However, I need to change the file version and language before compiling, and As far as I know, I have to modify the .res file to do so.
Do you want to modify the modified data in an Icon for .res files that will come in any code? The thing is that I only want to change the information of those two pieces, which the rest do not keep unchanged. That's why I can not compile my own .res file based on the script.
An application executed with the command line can also be fine if it allows calling with criteria and I need it
Create a appR.C
file to add file version resources if you need it, to brcc32 Compile with
and add one to your app unit (for example, app.
) {$ r app.se}}
(as Marian saw is that you Micro Delphi project option off to include version information).
I created command line programs that increase the numbers in the .rc
file, create new branch / tag with new version in branch name in SVN, .rc < / Code> to
.res
, and create the application.
My code containing such information (Polish language) files look like this:
# IDR_VERSION1 detected 1 IDR_VERSION1 VERSIONINFO go to LOADONCALL Enabled unimpressed IMPURE FILEVERSION 7,28,7,17 PRODUCTVERSION 7,28,7,17 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK FILEFLAGS 0 files VOS_DOS_WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE 0 {block "stringfileInfo" {block "041504E2" {VALUE "CompanyName", " Xxx \ 0 "VALUE" file name "," yyy \ 0 "VALUE" product name "," zzz \ 0 "VALUE" file warsen "," 7.28.7.17 \ 0 "VALUE" product version "," 7.28.7.17 \ 0 " }} Block "VarFileInfo" {VALUE "translation", 0x0415, 1250}}
Comments
Post a Comment