Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1542714
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

分类: Windows平台

2015-02-12 11:50:18

(v=vs.85).aspx

  1. Examples

  2. The following example defines a VERSIONINFO resource:
  3. #define VER_FILEVERSION 3,10,349,0
  4. #define VER_FILEVERSION_STR "3.10.349.0\0"

  5. #define VER_PRODUCTVERSION 3,10,0,0
  6. #define VER_PRODUCTVERSION_STR "3.10\0"

  7. #ifndef DEBUG
  8. #define VER_DEBUG 0
  9. #else
  10. #define VER_DEBUG VS_FF_DEBUG
  11. #endif

  12. VS_VERSION_INFO VERSIONINFO
  13. FILEVERSION     VER_FILEVERSION
  14. PRODUCTVERSION     VER_PRODUCTVERSION
  15. FILEFLAGSMASK     VS_FFI_FILEFLAGSMASK
  16. FILEFLAGS     (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  17. FILEOS     VOS__WINDOWS32
  18. FILETYPE     VFT_DLL
  19. FILESUBTYPE     VFT2_UNKNOWN
  20. BEGIN
  21.     BLOCK "StringFileInfo"
  22.     BEGIN
  23.         BLOCK "040904E4"
  24.         BEGIN
  25.             VALUE "CompanyName", VER_COMPANYNAME_STR
  26.             VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  27.             VALUE "FileVersion", VER_FILEVERSION_STR
  28.             VALUE "InternalName", VER_INTERNALNAME_STR
  29.             VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
  30.             VALUE "LegalTrademarks1", VER_LEGALTRADEMARKS1_STR
  31.             VALUE "LegalTrademarks2", VER_LEGALTRADEMARKS2_STR
  32.             VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
  33.             VALUE "ProductName", VER_PRODUCTNAME_STR
  34.             VALUE "ProductVersion", VER_PRODUCTVERSION_STR
  35.         END
  36.     END

  37.     BLOCK "VarFileInfo"
  38.     BEGIN
  39.         /* The following line should only be modified for localized versions. */
  40.         /* It consists of any number of WORD,WORD pairs, with each pair */
  41.         /* describing a language,codepage combination supported by the file. */
  42.         /* */
  43.         /* For example, a file might have values "0x409,1252" indicating that it */
  44.         /* supports English language (0x409) in the Windows ANSI codepage (1252). */

  45.         VALUE "Translation", 0x409, 1252

  46.     END
  47. END

阅读(825) | 评论(0) | 转发(0) |
0

上一篇:VXD WDM WDF 发展历史

下一篇:copyright

给主人留下些什么吧!~~