On 2/8/2004 12:41:27 PM, Ted Green wrote:
>At 12:49 AM 2/8/2004, you
>wrote:
>>If I look at the properties of the vpw.exe using explorer I am not shown any version TAB. I assume this is because it has been decided not to add this info in the standard WINDOWS way.
>
>I must sheepishly confess that
>I don't know how to create the
>version property tab. If
>someone shares this info with
>me, I will be happy to add it
>to VEDIT.
>
>Ted.
You need to include a VERSIONINFO resource in the .rc file.
MFC includes this by default (even though most programs never seem to change it).
It is equally valid in SDK programs e.g.:-
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,2,122,3
PRODUCTVERSION 4,2,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "0c0904b0"
BEGIN
VALUE "Comments", "\0"
VALUE "CompanyName", "Paul's Computer Company\0"
VALUE "FileDescription", "Paul's Graphic Viewer\0"
VALUE "FileVersion", "4.02z3\0"
VALUE "InternalName", "Pgv\0"
VALUE "LegalCopyright", "Copyright © 1998\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "Pgv.exe\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Paul's Computer Company Pgv\0"
VALUE "ProductVersion", "4, 2, 0, 0\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0xc09, 1200
END
END
>
|
|