home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip531.zip / wince / punzip.rcv < prev    next >
Text File  |  1997-03-25  |  6KB  |  182 lines

  1. //******************************************************************************
  2. //
  3. // File:        PUNZIP.RCV
  4. //
  5. // Description: Resources that Microsoft Visual C++ does not edit directly.  
  6. //              This file sets all the version defines and decalres the Version
  7. //              Info resource.  This file is included by both the C compiler and
  8. //              the resource compiler.
  9. //
  10. // Copyright:   All the source files for Pocket UnZip, except for components
  11. //              written by the Info-ZIP group, are copyrighted 1997 by Steve P.
  12. //              Miller.  The product "Pocket UnZip" itself is property of the
  13. //              author and cannot be altered in any way without written consent
  14. //              from Steve P. Miller.
  15. //
  16. // Disclaimer:  All project files are provided "as is" with no guarantee of
  17. //              their correctness.  The authors are not liable for any outcome
  18. //              that is the result of using this source.  The source for Pocket
  19. //              UnZip has been placed in the public domain to help provide an
  20. //              understanding of its implementation.  You are hereby granted
  21. //              full permission to use this source in any way you wish, except
  22. //              to alter Pocket UnZip itself.  For comments, suggestions, and
  23. //              bug reports, please write to stevemil@pobox.com.
  24. //
  25. //
  26. // Date      Name          History
  27. // --------  ------------  -----------------------------------------------------
  28. // 02/01/97  Steve Miller  Created (Version 1.0 using Info-ZIP UnZip 5.30)
  29. //
  30. //******************************************************************************
  31.  
  32. #ifndef __PUNZIP_RCV__
  33. #define __PUNZIP_RCV__
  34.  
  35. #ifdef APSTUDIO_INVOKED
  36.    #error this file is not editable by Microsoft Visual C++
  37. #endif // APSTUDIO_INVOKED
  38.  
  39. #ifdef _WIN32_WCE
  40. #define VS_FFI_FILEFLAGSMASK    0x0000003FL
  41. #define VS_FF_PRERELEASE        0x00000002L
  42. #define VOS__WINDOWS32          0x00000004L
  43. #define VFT_APP                 0x00000001L
  44. #define VFT2_UNKNOWN            0x00000000L
  45. #define VS_FF_DEBUG             0x00000001L
  46. #else
  47. #include <winver.h>
  48. #endif
  49.  
  50. //******************************************************************************
  51. //***** User Modifiable Version Defines
  52. //******************************************************************************
  53.  
  54. #define VERSION_MAJOR        1
  55. #define VERSION_MINOR        0
  56. #define VERSION_PRIVATE      0
  57. #define VERSION_PATCH        0
  58.  
  59. #define VERSION_STRING       "1.0"
  60.  
  61. // Set VER_FF_PRERELEASE to VS_FF_PRERELEASE for beta and 0 for release.
  62. #define VER_FF_PRERELEASE 0
  63.  
  64. //******************************************************************************
  65. //***** Fixed Version Defines
  66. //******************************************************************************
  67.  
  68. #define VER_INTERNALNAME_STR "PUNZIP"
  69. #define VER_PRODUCT_STR      "Pocket UnZip\256"
  70. #define VER_DEVELOPER_STR    "Steve P. Miller (stevemil@pobox.com)"
  71. #define VER_COMMENT_STR      "Pocket UnZip is built on top of Info-ZIP's UnZip 5.30 source code."
  72.  
  73. #define VER_FILENAME_STR     VER_INTERNALNAME_STR ".EXE"
  74. #define VER_VERSION          VERSION_MAJOR,VERSION_MINOR,VERSION_PRIVATE,VERSION_PATCH
  75.  
  76. #define VER_COMPANY_STR      VER_DEVELOPER_STR
  77. #define VER_COPYRIGHT_STR    "Copyright \251 1997 Steve P. Miller.  All Rights Reserved."
  78.  
  79.  
  80. #if defined(_X86_) || defined(_M_IX86)
  81.    #define VER_ARCH " (Intel x86)"
  82. #elif defined(_MIPS_) || defined(_M_MRX000)
  83.    #define VER_ARCH " (MIPS)"
  84. #elif defined(_SH3_)
  85.    #define VER_ARCH " (Hitachi SH-3)"
  86. #elif defined(_PPC_) || defined(_M_PPC)
  87.    #define VER_ARCH " (IBM PowerPC)"
  88. #elif defined(_ALPHA_) || defined(_M_ALPHA)
  89.    #define VER_ARCH " (DEC Alpha)"
  90. #elif defined(_M_MPPC)
  91.    #define VER_ARCH " (Macintosh PowerPC)"
  92. #elif defined(_M_M68K)
  93.    #define VER_ARCH " (Macintosh 68K)"
  94. #else
  95.    #define VER_ARCH ""
  96. #endif
  97.  
  98.  
  99. #ifdef _DEBUG
  100.    #define VER_FF_DEBUG          VS_FF_DEBUG
  101. #else
  102.    #define VER_FF_DEBUG          0
  103. #endif
  104.  
  105. #if (VERSION_PATCH > 0)
  106.    #define VER_FF_PATCHED        VS_FF_PATCHED
  107. #else
  108.    #define VER_FF_PATCHED        0
  109. #endif
  110.  
  111. #if (VERSION_PRIVATE > 0)
  112.    #define VER_FF_PRIVATEBUILD   VS_FF_PRIVATEBUILD
  113. #else
  114.    #define VER_FF_PRIVATEBUILD   0
  115. #endif
  116.  
  117. #ifdef _DEBUG
  118.    #if (VER_FF_PRERELEASE == VS_FF_PRERELEASE)
  119.       #define VER_VERSION_STR    VERSION_STRING " Beta (Debug)"
  120.    #else
  121.       #define VER_VERSION_STR    VERSION_STRING " (Debug)"
  122.    #endif
  123. #else   
  124.    #if (VER_FF_PRERELEASE == VS_FF_PRERELEASE)
  125.       #define VER_VERSION_STR    VERSION_STRING " Beta"
  126.    #else
  127.       #define VER_VERSION_STR    VERSION_STRING
  128.    #endif
  129. #endif
  130.  
  131. #ifdef _WIN32_WCE
  132. #define VER_FULLPRODUCT_STR      VER_PRODUCT_STR " for Windows\256 CE" VER_ARCH
  133. #define VER_FULLVERSION_STR      VER_VERSION_STR " for Windows\256 CE" VER_ARCH
  134. #else
  135. #define VER_FULLPRODUCT_STR      VER_PRODUCT_STR " for Windows\256 NT" VER_ARCH
  136. #define VER_FULLVERSION_STR      VER_VERSION_STR " for Windows\256 NT" VER_ARCH
  137. #endif
  138.  
  139. //******************************************************************************
  140. //***** VERSIONINFO Resource
  141. //******************************************************************************
  142.  
  143. #ifdef RC_INVOKED
  144.  
  145. VS_VERSION_INFO VERSIONINFO
  146.  
  147.    FILEVERSION    VER_VERSION
  148.    PRODUCTVERSION VER_VERSION
  149.    FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  150.    FILEFLAGS      VER_FF_PRERELEASE | VER_FF_DEBUG | VER_FF_PATCHED | VER_FF_PRIVATEBUILD
  151.    FILEOS         VOS__WINDOWS32
  152.    FILETYPE       VFT_APP
  153.    FILESUBTYPE    VFT2_UNKNOWN
  154.    
  155.    BEGIN
  156.       BLOCK "StringFileInfo"
  157.       BEGIN
  158.          BLOCK "040904B0"     // 0x0409 = U.S. English, 0x04B0 = Unicode
  159.          BEGIN 
  160.              VALUE "CompanyName",     VER_COMPANY_STR "\0"
  161.              VALUE "FileDescription", VER_FULLPRODUCT_STR "\0"
  162.              VALUE "FileVersion",     VER_FULLVERSION_STR "\0"
  163.              VALUE "InternalName",    VER_INTERNALNAME_STR "\0"
  164.              VALUE "LegalCopyright",  VER_COPYRIGHT_STR "\0"
  165.              VALUE "OriginalFilename",VER_FILENAME_STR "\0"
  166.              VALUE "ProductName",     VER_PRODUCT_STR "\0"
  167.              VALUE "ProductVersion",  VER_VERSION_STR "\0"
  168.              VALUE "Comments",        VER_COMMENT_STR "\0"
  169.          END
  170.       END
  171.     
  172.       BLOCK "VarFileInfo" 
  173.       BEGIN 
  174.          // English language (0x0409) and the Unicode codepage (1200)
  175.          VALUE "Translation", 0x0409, 1200
  176.       END
  177.    END
  178.  
  179. #endif // RC_INVOKED
  180.  
  181. #endif // __PUNZIP_RCV__
  182.