home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / audio / acmapp / acmapp.rcv < prev    next >
Text File  |  1996-07-16  |  4KB  |  133 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 - 1996 Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. //  acmapp.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. #ifdef WIN32
  25. #include <winver.h>
  26. #else
  27. #include <ver.h>
  28. #endif
  29.  
  30. //
  31. //  version flags. OFFICIAL and FINAL should be defined when appropriate.
  32. //
  33. //
  34. #ifndef OFFICIAL
  35. #define VER_PRIVATEBUILD      VS_FF_PRIVATEBUILD
  36. #else
  37. #define VER_PRIVATEBUILD      0
  38. #endif
  39.  
  40. #ifndef FINAL
  41. #define VER_PRERELEASE        VS_FF_PRERELEASE
  42. #else
  43. #define VER_PRERELEASE        0
  44. #endif
  45.  
  46. #ifdef DEBUG
  47. #define VER_DEBUG             VS_FF_DEBUG    
  48. #else
  49. #define VER_DEBUG             0
  50. #endif
  51.  
  52.  
  53.  
  54. //--------------------------------------------------------------------------;
  55. //
  56. //
  57. //
  58. //
  59. //
  60. //--------------------------------------------------------------------------;
  61.  
  62. #define APP_VERSION_FLAGSMASK   0x0030003FL
  63. #define APP_VERSION_FLAGS       (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  64.  
  65. #ifdef WIN32
  66. #define APP_VERSION_OS          VOS_NT_WINDOWS32
  67. #else
  68. #define APP_VERSION_OS          VOS_DOS_WINDOWS16
  69. #endif
  70.  
  71. #define APP_VERSION_TYPE        VFT_APP
  72. #define APP_VERSION_SUBTYPE     VFT2_UNKNOWN
  73.  
  74.  
  75. // This shouldn't be needed - this could cause problems
  76. //#define APP_VERSION_LANGUAGE    0x409
  77. //#ifdef UNICODE
  78. //#define APP_VERSION_CHARSET     1200
  79. //#else
  80. //#define APP_VERSION_CHARSET     1252
  81. //#endif
  82.  
  83.  
  84.  
  85. //--------------------------------------------------------------------------;
  86. //
  87. //
  88. //
  89. //
  90. //
  91. //--------------------------------------------------------------------------;
  92.  
  93. VS_VERSION_INFO VERSIONINFO
  94. FILEVERSION     APP_VERSION_MAJOR, APP_VERSION_MINOR, 0, APP_VERSION_BUILD
  95. PRODUCTVERSION  APP_VERSION_MAJOR, APP_VERSION_MINOR, 0, APP_VERSION_BUILD
  96. FILEFLAGSMASK   APP_VERSION_FLAGSMASK
  97. FILEFLAGS       APP_VERSION_FLAGS
  98. FILEOS          APP_VERSION_OS
  99. FILETYPE        APP_VERSION_TYPE
  100. FILESUBTYPE     APP_VERSION_SUBTYPE
  101. BEGIN
  102.     BLOCK "StringFileInfo"
  103.     BEGIN
  104.         BLOCK "040904E4"
  105.         BEGIN
  106.             VALUE "CompanyName",        APP_VERSION_COMPANYNAME_RC
  107.             VALUE "FileDescription",    APP_VERSION_DESCRIPTION_RC
  108.             VALUE "FileVersion",        APP_VERSION_STRING_RC
  109.             VALUE "InternalName",       APP_VERSION_NAME_RC
  110.             VALUE "LegalCopyright",     APP_VERSION_COPYRIGHT_RC
  111.             VALUE "OriginalFilename",   APP_VERSION_NAME_RC
  112.             VALUE "ProductName",        APP_VERSION_PRODUCTNAME_RC
  113.             VALUE "ProductVersion",     APP_VERSION_STRING_RC
  114.         END
  115.         BLOCK "041104E4"
  116.         BEGIN
  117.             VALUE "CompanyName",        APP_VERSION_COMPANYNAME_RC
  118.             VALUE "FileDescription",    APP_VERSION_DESCRIPTION_RC
  119.             VALUE "FileVersion",        APP_VERSION_STRING_RC
  120.             VALUE "InternalName",       APP_VERSION_NAME_RC
  121.             VALUE "LegalCopyright",     APP_VERSION_COPYRIGHT_RC
  122.             VALUE "OriginalFilename",   APP_VERSION_NAME_RC
  123.             VALUE "ProductName",        APP_VERSION_PRODUCTNAME_RC
  124.             VALUE "ProductVersion",     APP_VERSION_STRING_RC
  125.         END
  126.     END
  127.  
  128.     BLOCK "VarFileInfo"
  129.     BEGIN
  130.         VALUE "Translation", 0x409, 0x4E4, 0x411, 0x4E4
  131.     END
  132. END
  133.