home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / bhcommon.ver < prev    next >
Text File  |  1998-04-25  |  4KB  |  108 lines

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