home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 September / VPR0009A.BIN / VS60SP4JPN / support / version.rc < prev    next >
Text File  |  1998-09-30  |  3KB  |  109 lines

  1. /*---------------------------------------------------------------*/
  2. /*                                 */
  3. /* The following section actually creates the version structure. */
  4. /* They are ignored if we are not being invoked by RC.         */
  5. /*                                 */
  6. /* VERSION.H must be included before including this file     */
  7. /*                                 */
  8. /* If VER_LEGALCOPYRIGHT_STR is not defined, it will be      */
  9. /* constructed using VER_LEGALCOPYRIGHT_YEARS, so at least one     */
  10. /* these macros must be defined before including this file.     */
  11. /*                                 */
  12. /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR, and     */
  13. /* VER_INTERNALNAME_STR must be defined before including this     */
  14. /* file.                             */
  15. /*                                 */
  16. /* If VER_FILEVERSION is not defined, VER_PRODUCTVERSION will be */
  17. /* used instead.  If VER_FILEVERSION_STR is not defined,     */
  18. /* VER_PRODUCTVERSION_STR will be used instead.          */
  19. /*                                 */
  20. /* If VER_ORIGINALFILENAME_STR is not defined, it is set to     */
  21. /* the NULL string.                         */
  22. /*                                 */
  23. /* If INTL is defined, then this is assumed to be an         */
  24. /* an international build; two string blocks will be created,     */
  25. /* (since all version resources must have English), and the     */
  26. /* second one can be localized                     */
  27. /*                                 */
  28. /*---------------------------------------------------------------*/
  29.  
  30. #ifdef RC_INVOKED
  31.  
  32. #ifndef VER_LEGALCOPYRIGHT_STR
  33. #define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corp. " VER_LEGALCOPYRIGHT_YEARS "\0"
  34. #endif
  35.  
  36. #ifndef VER_FILEVERSION
  37. #define VER_FILEVERSION VER_PRODUCTVERSION
  38. #endif
  39.  
  40. #ifndef VER_FILEVERSION_STR
  41. #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
  42. #endif
  43.  
  44. #ifndef VER_ORIGINALFILENAME_STR
  45. #define VER_ORIGINALFILENAME_STR "\0"
  46. #endif
  47.  
  48. VS_VERSION_INFO VERSIONINFO
  49. FILEVERSION    VER_FILEVERSION
  50. PRODUCTVERSION VER_PRODUCTVERSION
  51. FILEFLAGSMASK  VER_FILEFLAGSMASK
  52. FILEFLAGS      VER_FILEFLAGS
  53. FILEOS           VER_FILEOS
  54. FILETYPE       VER_FILETYPE
  55. FILESUBTYPE    VER_FILESUBTYPE
  56. BEGIN
  57.     BLOCK "StringFileInfo"
  58.     BEGIN
  59.     BLOCK "040904E4"
  60.     BEGIN
  61.         VALUE "CompanyName",     VER_COMPANYNAME_STR, "\0"
  62.         VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
  63.         VALUE "FileVersion",     VER_FILEVERSION_STR, "\0"
  64.         VALUE "InternalName",    VER_INTERNALNAME_STR, "\0"
  65.         VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR, "\0"
  66.         VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
  67. #if VER_PRIVATEBUILD
  68.         VALUE "PrivateBuild",    "Built by ", szVerUser, "\0"
  69. #endif
  70.         VALUE "ProductName",     VER_PRODUCTNAME_STR, "\0"
  71.         VALUE "ProductVersion",  VER_PRODUCTVERSION_STR, "\0"
  72.     END
  73.  
  74. #ifdef INTL
  75.     BLOCK "040904E4"
  76.     BEGIN
  77.         VALUE "CompanyName",     VER_COMPANYNAME_STR, "\0"
  78.         VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
  79.         VALUE "FileVersion",     VER_FILEVERSION_STR, "\0"
  80.         VALUE "InternalName",    VER_INTERNALNAME_STR, "\0"
  81.         VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR, "\0"
  82.         VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
  83. #if VER_PRIVATEBUILD
  84.         VALUE "PrivateBuild",    "Built by ", szVerUser, "\0"
  85. #endif
  86.         VALUE "ProductName",     VER_PRODUCTNAME_STR, "\0"
  87.         VALUE "ProductVersion",  VER_PRODUCTVERSION_STR, "\0"
  88.     END
  89. #endif
  90.     END
  91.  
  92.     BLOCK "VarFileInfo"
  93.     BEGIN
  94.     /* the following line should be extended for localized versions */
  95.     VALUE "Translation", 0x0409, 0x04E4
  96.     END
  97. END
  98.  
  99. #endif
  100.  
  101.  
  102. /*
  103. ** end of file
  104. */
  105.  
  106.  
  107.  
  108.  
  109.