home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / NEWS / 4418 / DEMO / SOURCE.ZIP / VER_INFO.RCV < prev    next >
Text File  |  1993-08-24  |  7KB  |  178 lines

  1. /********************************************************************/
  2. /*                                                                  */
  3. /*  gen.RCV                                                     */
  4. /*                                                                  */
  5. /*    This RC fragment defines version information specific         */
  6. /*    to one file.  It should be #include'd into the component's    */
  7. /*    main .RC file                                                 */
  8. /*                                                                  */
  9. /*  It relies on the public VER.H                                   */
  10. /*                                                                  */
  11. /********************************************************************/
  12.  
  13. //  if the build is for large and official diffusion, place
  14. //  #define TRUERELEASE
  15. //
  16.  
  17. #define TRUERELEASE
  18.  
  19. #ifdef TRUERELEASE
  20. #define OFFICIAL
  21. #define FINAL
  22. #endif
  23.  
  24. #ifndef VS_FF_DEBUG
  25. /* ver.h defines constants needed by the VS_VERSION_INFO structure */
  26. #ifdef WIN32
  27. #include "winver.h"
  28. #else
  29. #include "ver.h"
  30. #endif
  31. #endif
  32.  
  33. /*--------------------------------------------------------------*/
  34. /* the following values should be modified by the official      */
  35. /* builder for each build                                       */
  36. /*--------------------------------------------------------------*/
  37.  
  38. #define TEXTABOUTVERSION            "BMPEF version 1.1"
  39. #define VER_PRODUCTVERSION_STR      "1.1\0"
  40. #define VER_PRODUCTVERSION          1,1,0,0
  41.  
  42. /*-----------------------------------------------*/
  43. /* the following lines are specific to this file */
  44. /*-----------------------------------------------*/
  45.  
  46. #define VER_FILETYPE                VFT_APP
  47. #define VER_FILESUBTYPE             VFT2_UNKNOWN
  48. #define VER_FILEVERSION             1,1,0,0
  49.  
  50. #define VER_FILEVERSION_STR         "1.1\0"
  51. #define VER_FILEDESCRIPTION_STR     "BMPEF application file\0"
  52. #define VER_INTERNALNAME_STR        "BMPEF\0"
  53. #define VER_LEGALCOPYRIGHT_STR      "Copyright \251 Gilles Vollant 1993\0"
  54. #define VER_ORIGINAL_FILENAME_STR    "BMPEF.EXE\0"
  55.  
  56. /*  NOTE FOR EXTERNAL VENDORS:  vendor specific copyright and  */
  57. /*  trademark notices may be added to the Microsoft notices    */
  58. /*  but the Microsoft notices need to be included              */
  59.  
  60. /*--------------------------------------------------------------*/
  61. /* the following section defines values used in the version     */
  62. /* data structure for all files, and which do not change.       */
  63. /*--------------------------------------------------------------*/
  64.  
  65. /* default is nodebug */
  66. #ifndef DEBUG
  67. #define VER_DEBUG                   0
  68. #else
  69. #define VER_DEBUG                   VS_FF_DEBUG
  70. #endif
  71.  
  72. /* default is privatebuild */
  73. #ifndef OFFICIAL
  74. #define VER_PRIVATEBUILD            VS_FF_PRIVATEBUILD
  75. #else
  76. #define VER_PRIVATEBUILD            0
  77. #endif
  78.  
  79. /* default is prerelease */
  80. #ifndef FINAL
  81. #define VER_PRERELEASE              VS_FF_PRERELEASE
  82. #else
  83. #define VER_PRERELEASE              0
  84. #endif
  85.  
  86. #ifdef WIN32
  87. #define VER_FILEFLAGSMASK           VS_FFI_FILEFLAGSMASK
  88. #else
  89. #define VER_FILEFLAGSMASK           0x0000003FL
  90. #endif
  91. #define VER_FILEFLAGS               (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  92.  
  93. #ifdef WIN32
  94. #define VER_FILEOS                  VOS__WINDOWS32
  95. #else
  96. #define VER_FILEOS                  VOS__WINDOWS16
  97. #endif
  98.  
  99. #define VER_COMPANYNAME_STR         "\0"
  100. #define VER_PRODUCTNAME_STR         "\0"
  101. #define VER_LEGALTRADEMARKS_STR     "\0"
  102.  
  103. /*  NOTE FOR EXTERNAL VENDORS:  vendor specific copyright and  */
  104. /*  trademark notices may be added to the Microsoft notices    */
  105. /*  but the Microsoft notices need to be included              */
  106.  
  107. /*---------------------------------------------------------------*/
  108. /*                                                               */
  109. /* The following section actually creates the version structure. */
  110. /* It is ignored if we are not being invoked by RC.              */
  111. /*                                                               */
  112. /* These lines should only be modified for localized versions    */
  113. /* where indicated.                                              */
  114. /*                                                               */
  115. /*---------------------------------------------------------------*/
  116.  
  117. #ifdef RC_INVOKED
  118.  
  119. VS_VERSION_INFO         VERSIONINFO
  120. FILEVERSION     VER_FILEVERSION
  121. PRODUCTVERSION  VER_PRODUCTVERSION
  122. FILEFLAGSMASK   VER_FILEFLAGSMASK
  123. FILEFLAGS       VER_FILEFLAGS
  124. FILEOS          VER_FILEOS
  125. FILETYPE        VER_FILETYPE
  126. FILESUBTYPE     VER_FILESUBTYPE
  127. BEGIN
  128.     BLOCK "StringFileInfo"
  129.     BEGIN
  130.     BLOCK "040904E4"
  131.     BEGIN
  132.         VALUE "CompanyName",     VER_COMPANYNAME_STR
  133.         VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  134.         VALUE "FileVersion",     VER_FILEVERSION_STR
  135.         VALUE "InternalName",    VER_INTERNALNAME_STR
  136.         VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR
  137.         VALUE "LegalTrademarks", VER_LEGALTRADEMARKS_STR
  138.         VALUE "OriginalFilename",VER_ORIGINAL_FILENAME_STR
  139.         VALUE "ProductName",     VER_PRODUCTNAME_STR
  140.         VALUE "ProductVersion",  VER_PRODUCTVERSION_STR
  141.     END
  142.     /* additional info should be added here for localized versions */
  143. #ifdef INTL
  144.         BLOCK "040904E4"
  145.         BEGIN
  146.             VALUE "CompanyName",     VER_COMPANYNAME_STR
  147.             VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  148.             VALUE "FileVersion",     VER_FILEVERSION_STR
  149.             VALUE "InternalName",    VER_INTERNALNAME_STR
  150.             VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR
  151.             VALUE "LegalTrademarks", VER_LEGALTRADEMARKS_STR
  152.             VALUE "OriginalFilename",VER_ORIGINAL_FILENAME_STR
  153.             VALUE "ProductName",     VER_PRODUCTNAME_STR
  154.             VALUE "ProductVersion",  VER_PRODUCTVERSION_STR
  155.         END
  156. #endif
  157.     END
  158.  
  159.     BLOCK "VarFileInfo"
  160.     BEGIN
  161.     /* The following line should only be modified for localized versions.     */
  162.     /* It consists of any number of WORD,WORD pairs, with each pair           */
  163.     /* describing a language,codepage combination supported by the file.      */
  164.     /*                                                                        */
  165.     /* For example, a file might have values "0x409,1252" indicating that it  */
  166.     /* supports English language (0x409) in the Windows ANSI codepage (1252). */
  167.  
  168.     VALUE "Translation", 0x409, 1252
  169.  
  170.     END
  171. END
  172.  
  173. #endif
  174.  
  175. /*----------------------------------*/
  176. /* end of version structure section */
  177. /*----------------------------------*/
  178.