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

  1. // ==========================================================================
  2. //
  3. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. //  PURPOSE.
  7. //
  8. //  Copyright (c) 1992 - 1997  Microsoft Corporation.  All Rights Reserved.
  9. //
  10. // --------------------------------------------------------------------------
  11. //
  12. //  ACTIVEX.RCV
  13. //
  14. //  Description:
  15. //    This file defines the version resource used for the application.
  16. //
  17. //    NOTE: All strings MUST have an explicit \0 for termination!
  18. //
  19. //    For a complete description of the Version Resource, search the
  20. //    Microsoft Developer's Network (MSDN) CD-ROM for 'version resource'.
  21. //
  22. // ==========================================================================
  23.  
  24. #ifndef _ACTIVEX_RCV_
  25. #define _ACTIVEX_RCV_
  26.  
  27. #ifdef WIN32
  28. #include <winver.h>
  29. #else
  30. #include <ver.h>
  31. #endif
  32.  
  33. #ifndef _ACTIVEX_VER_
  34. #include <activex.ver>
  35. #endif
  36.  
  37. //
  38. // Version flags.
  39. //
  40. // OFFICIAL and FINAL should be defined when appropriate.
  41. //
  42.  
  43. #ifndef OFFICIAL
  44. #define VER_PRIVATEBUILD      VS_FF_PRIVATEBUILD
  45. #else
  46. #define VER_PRIVATEBUILD      0
  47. #endif
  48.  
  49. #ifndef FINAL
  50. #define VER_PRERELEASE        VS_FF_PRERELEASE
  51. #else
  52. #define VER_PRERELEASE        0
  53. #endif
  54.  
  55. #ifdef DEBUG
  56. #define VER_DEBUG             VS_FF_DEBUG
  57. #else
  58. #define VER_DEBUG             0
  59. #endif
  60.  
  61. //
  62. // Version definitions
  63. //
  64.  
  65. #define VERSION_RES_FLAGSMASK   0x0030003FL
  66. #define VERSION_RES_FLAGS       (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  67.  
  68. #ifdef WIN32
  69. #define VERSION_RES_OS          VOS_NT_WINDOWS32
  70. #else
  71. #define VERSION_RES_OS          VOS_DOS_WINDOWS16
  72. #endif
  73.  
  74. #ifndef VERSION_RES_TYPE
  75. #define VERSION_RES_TYPE        VFT_DLL
  76. #endif
  77.  
  78. #ifndef VERSION_RES_SUBTYPE
  79. #define VERSION_RES_SUBTYPE     VFT2_UNKNOWN
  80. #endif
  81.  
  82. #define VERSION_RES_LANGUAGE    0x409
  83.  
  84. #ifdef UNICODE
  85. #define VERSION_RES_CHARSET     1200
  86. #else
  87. #define VERSION_RES_CHARSET     1252
  88. #endif
  89.  
  90. #ifndef VERSION_RES_ACTIVEX
  91. #define VERSION_RES_ACTIVEX     "Filter dll\0"
  92. #endif
  93.  
  94. #ifdef  AMOVIE_SELF_REGISTER
  95. #ifndef OLE_SELF_REGISTER
  96. #define OLE_SELF_REGISTER
  97. #endif
  98. #endif
  99.  
  100. #ifdef  OLE_SELF_REGISTER
  101. #ifdef  AMOVIE_SELF_REGISTER
  102. #define VERSION_RES_SELFREGISTER "AM20\0"
  103. #else
  104. #define VERSION_RES_SELFREGISTER "\0"
  105. #endif
  106. #endif
  107.  
  108. //
  109. // Version resource
  110. //
  111.  
  112. VS_VERSION_INFO VERSIONINFO
  113. FILEVERSION     VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  114. PRODUCTVERSION  VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  115. FILEFLAGSMASK   VERSION_RES_FLAGSMASK
  116. FILEFLAGS       VERSION_RES_FLAGS
  117. FILEOS          VERSION_RES_OS
  118. FILETYPE        VERSION_RES_TYPE
  119. FILESUBTYPE     VERSION_RES_SUBTYPE
  120. BEGIN
  121.   BLOCK "StringFileInfo"
  122.   BEGIN
  123.     BLOCK "040904E4"
  124.     BEGIN
  125.       VALUE "CompanyName",        VERSION_RES_COMPANY_NAME
  126.       VALUE "FileDescription",    VERSION_RES_BIN_DESCRIPTION
  127.       VALUE "FileVersion",        VERSION_RES_STRING
  128.       VALUE "InternalName",       VERSION_RES_BIN_NAME
  129.       VALUE "LegalCopyright",     VERSION_RES_COPYRIGHT
  130.       VALUE "OriginalFilename",   VERSION_RES_BIN_NAME
  131.       VALUE "ProductName",        VERSION_RES_PRODUCT_NAME
  132. #ifdef DEBUG
  133.       VALUE "ProductVersion",     VERSION_RES_STRING_D
  134. #else
  135.       VALUE "ProductVersion",     VERSION_RES_STRING
  136. #endif
  137.       VALUE "ActiveMovie",        VERSION_RES_ACTIVEX
  138. #ifdef OLE_SELF_REGISTER
  139.       VALUE "OLESelfRegister",    VERSION_RES_SELFREGISTER
  140. #endif
  141.     END
  142.   END
  143.   BLOCK "VarFileInfo"
  144.   BEGIN
  145.     VALUE "Translation", VERSION_RES_LANGUAGE, VERSION_RES_CHARSET
  146.   END
  147. END
  148.  
  149. #endif
  150. // _ACTIVEX_RCV_
  151.