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 / pertext / pertext.rc < prev    next >
Text File  |  1997-08-05  |  3KB  |  82 lines

  1. //===========================================================================
  2. //  File:      PERTEXT.RC
  3. //
  4. //  Summary:   Resource definition file for PERTEXT.DLL.
  5. //
  6. //  Origin:    5-20-97: atrent - Editor-inheritance from STOSERVE 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 PERTEXT.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 "pertext.ico"
  32.  
  33.  
  34. // If being read in by AppStudio we don't confuse it with this Version Info.
  35. #ifndef APSTUDIO_INVOKED
  36.  
  37. // The version information for the binary.
  38. VS_VERSION_INFO VERSIONINFO
  39. FILEVERSION    1,0,0,0
  40. PRODUCTVERSION 1,0,0,0
  41. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  42. #ifndef DEBUG
  43.   FILEFLAGS    0
  44. #else
  45.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  46. #endif
  47. FILEOS         VOS_NT_WINDOWS32
  48. FILETYPE       VFT_DLL
  49. FILESUBTYPE    VFT2_UNKNOWN
  50. BEGIN
  51.   BLOCK "StringFileInfo"
  52.   BEGIN
  53.     #ifdef UNICODE
  54.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  55.     #else
  56.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
  57.     #endif
  58.     BEGIN
  59.       VALUE "CompanyName",     "Microsoft Corporation"
  60.       VALUE "FileDescription", "PERTEXT: Tutorial Code Sample"
  61.       VALUE "FileVersion",     "1.00"
  62.       VALUE "InternalName",    "PERTEXT"
  63.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  64.       VALUE "OriginalFilename","PERTEXT.DLL"
  65.       VALUE "ProductName",     "Microsoft\256 Tutorial Code Samples"
  66.       VALUE "ProductVersion",  "1.00"
  67.       VALUE "OLESelfRegister", "\0"
  68.     END
  69.   END
  70.  
  71.   BLOCK "VarFileInfo"
  72.   BEGIN
  73.     #ifdef UNICODE
  74.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  75.     #else
  76.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  77.     #endif
  78.   END
  79. END
  80.  
  81. #endif
  82.