home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 2 / Chip_Hitware_Vol_02.iso / chiphit2 / tools / system / winversi / win_ver.rc < prev    next >
Text File  |  1995-04-17  |  2KB  |  85 lines

  1.  
  2. // WIN_VER Resource File, Copyright 1994-1995, UK, John M.Howells
  3.  
  4. // this is common to the 16-bit and 32-bit versions
  5.  
  6. /*
  7.    Modification History
  8.  
  9.     1.0    94-03-31    JMH    Initial Version
  10.  
  11.     1.1    94-04-28    JMH    Changed Version numbers
  12.  
  13.     1.2    94-05-09    JMH    Get underlying Windows NT version for WOW
  14.  
  15.     1.3    ????????    JMH    Forgot to update Issue Number!!!
  16.  
  17.     1.4    94-08-30    JMH    Changed version numbers
  18.  
  19.     1.5    94-11-06    JMH    Changed version numbers
  20.  
  21.     1.6    94-12-30    JMH    Changed version numbers
  22.  
  23.     1.7    95-02-07    JMH    Changed version numbers
  24.     
  25.     1.8    95-02-07    JMH    Changed version numbers and copyright
  26.                     string in version info to include 1995.
  27.                     
  28.     1.9    95-03-23    JMH    Changed version numbers.
  29.  */
  30.  
  31. #include    <windows.h>
  32. #include    "win_ver.h"
  33.  
  34. #if    defined( _WIN32 ) || defined( WIN32 ) || defined( __WIN32__ )
  35.  
  36. // resources being compiled for 32-bit
  37. // 32-bit windows.h calls up the version information
  38. #define    FILE_EXE    "WIN_V32.EXE\0"
  39. #define    FILE_OS        VOS__WINDOWS32
  40.  
  41. Icon    ICON    win_v32.ico
  42.  
  43. #else
  44.  
  45. // resources being compiled for 16-bit
  46. // here the version file has to explicitly included
  47. #include <ver.h>
  48. #define FILE_EXE    "WIN_V16.EXE\0"
  49. #define    FILE_OS        VOS__WINDOWS16
  50.  
  51. Icon    ICON    win_v16.ico
  52.  
  53. #endif
  54.  
  55.  
  56.  
  57. // version information resource
  58. VS_VERSION_INFO VERSIONINFO
  59. FILEVERSION     PROG_MAJOR_VERS,PROG_MINOR_VERS,0,0
  60. PRODUCTVERSION  PROG_MAJOR_VERS,PROG_MINOR_VERS,0,0
  61. FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
  62. FILEFLAGS       0
  63. FILEOS          FILE_OS
  64. FILETYPE        VFT_APP
  65. FILESUBTYPE     VFT2_UNKNOWN
  66. BEGIN
  67.   BLOCK "StringFileInfo"
  68.   BEGIN
  69.     BLOCK "080904E4"
  70.     BEGIN
  71.       VALUE "CompanyName",     "John M.Howells, CIS ID: 100031,353\0"
  72.       VALUE "FileDescription", "Windows Type and Version Display\0"
  73.       VALUE "FileVersion",     PROG_MAJOR_VERS_STRING "." PROG_MINOR_VERS_STRING "\0"
  74.       VALUE "InternalName",    FILE_EXE
  75.       VALUE "LegalCopyright",  "Copyright \251 1994-1995 John M.Howells\0"
  76.       VALUE "ProductVersion",  PROG_MAJOR_VERS_STRING "." PROG_MINOR_VERS_STRING "\0"
  77.     END
  78.   END
  79.  
  80.   BLOCK "VarFileInfo"
  81.   BEGIN
  82.     VALUE "Translation", 0x809, 1252
  83.   END
  84. END
  85.