home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / tutsamp / conserve / conserve.rc < prev    next >
Text File  |  1997-08-05  |  3KB  |  88 lines

  1. //===========================================================================
  2. //  File:      CONSERVE.RC
  3. //
  4. //  Summary:   Resource definition file for CONSERVE.DLL.
  5. //
  6. //  Origin:    5-30-96: atrent - Editor-inheritance from FRESERVE source.
  7. //
  8. // -------------------------------------------------------------------------
  9. //  This file is part of the Microsoft COM Tutorial Code Samples.
  10. //
  11. //  Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  12. //
  13. //  This source code is intended only as a supplement to Microsoft
  14. //  Development Tools and/or on-line documentation.  See these other
  15. //  materials for detailed information regarding Microsoft code samples.
  16. //
  17. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  18. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  19. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  20. //  PARTICULAR PURPOSE.
  21. //===========================================================================
  22.  
  23. // We include ole2.h because we're defining the Version Info.
  24. // We inlcude apputil.h for Resource IDs shared with APPUTIL.
  25. // We include server.h for Resource IDs unique to CONSERVE.DLL.
  26. #include <ole2.h>
  27. #include <apputil.h>
  28. #include "server.h"
  29.  
  30. // The main icon resource for the application.
  31. AppIcon ICON DISCARDABLE "conserve.ico"
  32.  
  33. // Error Box String Resources.
  34. STRINGTABLE DISCARDABLE
  35. BEGIN
  36.   IDS_ASSERT_FAIL         "CONSERVE: Assertion Failed."
  37. END
  38.  
  39.  
  40. // If being read in by AppStudio we don't confuse it with this Version Info.
  41. #ifndef APSTUDIO_INVOKED
  42.  
  43. // The version information for the binary.
  44. VS_VERSION_INFO VERSIONINFO
  45. FILEVERSION    1,0,0,0
  46. PRODUCTVERSION 1,0,0,0
  47. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  48. #ifndef DEBUG
  49.   FILEFLAGS    0
  50. #else
  51.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  52. #endif
  53. FILEOS         VOS_NT_WINDOWS32
  54. FILETYPE       VFT_DLL
  55. FILESUBTYPE    VFT2_UNKNOWN
  56. BEGIN
  57.   BLOCK "StringFileInfo"
  58.   BEGIN
  59.     #ifdef UNICODE
  60.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  61.     #else
  62.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
  63.     #endif
  64.     BEGIN
  65.       VALUE "CompanyName",     "Microsoft Corporation"
  66.       VALUE "FileDescription", "CONSERVE: Tutorial Code Sample"
  67.       VALUE "FileVersion",     "1.00"
  68.       VALUE "InternalName",    "CONSERVE"
  69.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  70.       VALUE "OriginalFilename","CONSERVE.DLL"
  71.       VALUE "ProductName",     "Microsoft\256 Tutorial Code Samples"
  72.       VALUE "ProductVersion",  "1.00"
  73.       VALUE "OLESelfRegister", "\0"
  74.     END
  75.   END
  76.  
  77.   BLOCK "VarFileInfo"
  78.   BEGIN
  79.     #ifdef UNICODE
  80.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  81.     #else
  82.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  83.     #endif
  84.   END
  85. END
  86.  
  87. #endif
  88.