No Version info tab in file properties?
Hi,
I have a DLL project in VC++ 6.0 that currently doesn't have a Version tab in the properties of the DLL it builds.
I've never added version info to a project myself, only edited the version settings that were already there, so I added this to the .rc file just to see if it would add the Version tab, but it didn't work:
Code:
#include "winres.h"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,3
PRODUCTVERSION 1,0,0,3
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "Your comments\0"
VALUE "CompanyName", "ABC Corporation\0"
VALUE "FileDescription", "Your description\0"
VALUE "FileVersion", "1, 0, 0, 3\0"
VALUE "InternalName", "Your internal dll name\0"
VALUE "LegalCopyright", "Copyright 2001 ABC Corporation\0"
VALUE "LegalTrademarks", "Your legal trademark\0"
VALUE "OLESelfRegister", "Info 1\0"
VALUE "OriginalFilename", "Your original DLL name\0"
VALUE "PrivateBuild", "Your private build version\0"
VALUE "ProductName", "Your product name\0"
VALUE "ProductVersion", "1, 0, 0, 3\0"
VALUE "SpecialBuild", "Your spec. build descr.\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
What do I need to do to add Version info to a DLL project in VC++ 6.0?