Simplest way is to edit the VERSION INFO/RESOURCES panel in the IDE compiler options version tab.
; Version Info: auto set fields --> %yy.%mm.%dd
Or edit a MyApp.rc file with the following and reference it in the IDE compiler options resources tab:
Code:
#define VOS_UNKNOWN 0x00000000
#define VOS_DOS 0x00010000
#define VOS_OS216 0x00020000
#define VOS_OS232 0x00030000
#define VOS_NT 0x00040000
#define VOS_DOS_WINDOWS16 0x00010001
#define VOS_DOS_WINDOWS32 0x00010004
#define VOS_OS216_PM16 0x00020002
#define VOS_OS232_PM32 0x00030003
#define VOS_NT_WINDOWS32 0x00040004
#define VFT_UNKNOWN 0
#define VFT_APP 1
#define VFT_DLL 2
#define VFT_DRV 3
#define VFT_FONT 4
#define VFT_VXD 5
#define VFT_STATIC_LIB 7
pack ICON "..\\myapp\\img\\myapp-32x32-8.ico"
1 VERSIONINFO
FILEVERSION 19,11,07,0
PRODUCTVERSION 19,11,07,0
FILETYPE VFT_APP //FILETYPE VFT_UNKNOWN
FILEOS VOS_UNKNOWN //FILEOS VOS_NT_WINDOWS32
{
BLOCK "StringFileInfo"
{
BLOCK "000004b0"
{
VALUE "CompanyName", "My Company\0"
VALUE "ProductName", "MyApp\0"
VALUE "ProductVersion", "19.11.07\0"
VALUE "FileVersion", "19.11.07\0"
VALUE "FileDescription", "MyApp - does great stuff.\0"
VALUE "InternalName", "MyApp\0"
VALUE "OriginalFilename","MyApp\0"
VALUE "LegalCopyright", "My Company\0"
VALUE "LegalTrademarks", "\0"
VALUE "PrivateBuild", "\0"
VALUE "SpecialBuild", "\0"
VALUE "Email", "me@mycompany.com\0"
VALUE "Website", "www.mycompany.com\0"
VALUE "UserDefined1", "http://www.mycompany.com\0"
VALUE "UserDefined2", "\0"
VALUE "UserDefined3", "\0"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0000, 0x4b0
}
}