PERDRAW.RC
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 3k
Category:

Windows Develop

Development Platform:

Visual C++

  1. //===========================================================================
  2. //  File:      PERDRAW.RC
  3. //
  4. //  Summary:   Resource definition file for PERDRAW.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. // We include ole2.h because we're defining the Version Info.
  23. // We include apputil.h for Resource IDs shared with APPUTIL.
  24. #include <ole2.h>
  25. #include <apputil.h>
  26. // The main icon resource for the application.
  27. AppIcon ICON DISCARDABLE "perdraw.ico"
  28. // If being read in by AppStudio we don't confuse it with this Version Info.
  29. #ifndef APSTUDIO_INVOKED
  30. // The version information for the binary.
  31. VS_VERSION_INFO VERSIONINFO
  32. FILEVERSION    1,0,0,0
  33. PRODUCTVERSION 1,0,0,0
  34. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  35. #ifndef DEBUG
  36.   FILEFLAGS    0
  37. #else
  38.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  39. #endif
  40. FILEOS         VOS_NT_WINDOWS32
  41. FILETYPE       VFT_DLL
  42. FILESUBTYPE    VFT2_UNKNOWN
  43. BEGIN
  44.   BLOCK "StringFileInfo"
  45.   BEGIN
  46.     #ifdef UNICODE
  47.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  48.     #else
  49.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
  50.     #endif
  51.     BEGIN
  52.       VALUE "CompanyName",     "Microsoft Corporation"
  53.       VALUE "FileDescription", "PERDRAW: Tutorial Code Sample"
  54.       VALUE "FileVersion",     "1.00"
  55.       VALUE "InternalName",    "PERDRAW"
  56.       VALUE "LegalCopyright",  "Copyright 251 1997 Microsoft Corp. "
  57.       VALUE "OriginalFilename","PERDRAW.DLL"
  58.       VALUE "ProductName",     "Microsoft256 Tutorial Code Samples"
  59.       VALUE "ProductVersion",  "1.00"
  60.       VALUE "OLESelfRegister", ""
  61.     END
  62.   END
  63.   BLOCK "VarFileInfo"
  64.   BEGIN
  65.     #ifdef UNICODE
  66.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  67.     #else
  68.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  69.     #endif
  70.   END
  71. END
  72. #endif