Dear Damiano,
You have to add this section into your RC file:
- Code: Select all Expand view
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "0c0a04b0"
BEGIN
VALUE "CompanyName", "FiveTech Software SL"
VALUE "FileDescription", "FWH app test"
VALUE "FileVersion", "1.0.0.1"
VALUE "InternalName", "WindowsP.exe"
VALUE "LegalCopyright", "Copyright (C) FIveTech Software SL 2022"
VALUE "OriginalFilename", "WindowsP.exe"
VALUE "ProductName", "TODO: <Product name>"
VALUE "ProductVersion", "1.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0xc0a, 1200
END
END
The simplest way to do it is to open your RC file using Visual Studio Community 2022, then you add a "version" component and easily edit it from Visual Studio Community