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