I'm currently experiencing something weird. I've created a resource file for a c++ project developped with Visual Studio Express. I used ResEdit to generate an initial resource.rc file which looks like:
// Version Information resources
//
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
1 VERSIONINFO
FILEVERSION 0,0,0,0
PRODUCTVERSION 0,0,0,0
FILEOS VOS__WINDOWS32
FILETYPE VFT_UNKNOWN
FILESUBTYPE VFT2_UNKNOWN
FILEFLAGSMASK 0x00000000
FILEFLAGS 0x00000000
{
BLOCK "StringFileInfo"
{
BLOCK "040C04E4"
{
VALUE "Comments", ""
VALUE "CompanyName", "MyCompany"
VALUE "FileDescription", ""
VALUE "FileVersion", ""
VALUE "InternalName", ""
VALUE "LegalCopyright", "MyCopyRight"
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", ""
VALUE "PrivateBuild", ""
VALUE "ProductName", ""
VALUE "ProductVersion", "1.0"
VALUE "SpecialBuild", ""
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x040C, 0x04E4
}
}
When the project is built, if I right click on the binary file in Explorer, I can see the "Version" tab. But all the fields are blanks although I can retrieve programmatically the vsver informations. :( Any idea ? is there something wrong with this RC file ? I'm using Windows XP SP2 or 3 in French.