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

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