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

  1. //===========================================================================
  2. //  File:      COMOBJ.RC
  3. //
  4. //  Summary:   Resource definition file for COMOBJ.DLL.
  5. //
  6. //  Origin:    8-20-95: atrent - Editor-inheritance from the DLLSKEL 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 comobji.h for Resource IDs unique to COMOBJ.DLL.
  26. #include <ole2.h>
  27. #include <apputil.h>
  28. #include "comobji.h"
  29.  
  30.  
  31. //  The main icon resource for the application.
  32. AppIcon ICON DISCARDABLE "comobj.ico"
  33.  
  34. //  The COMOBJ About Box dialog resource.
  35. IDD_ABOUTBOX DIALOG DISCARDABLE  67, 46, 196, 53
  36. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  37. CAPTION "About COMOBJ"
  38. FONT 8, "MS Shell Dlg"
  39. BEGIN
  40.   ICON            "AppIcon",-1,6,7,18,20
  41.   LTEXT           "Tutorial Code Sample: COMOBJ Version 1.0",-1,32,7,
  42.                     155,8,NOT WS_GROUP
  43.   LTEXT           "Copyright 1997 Microsoft Corporation",-1,32,18,155,
  44.                     8,NOT WS_GROUP
  45.   PUSHBUTTON      "OK",IDOK,75,32,40,14
  46. END
  47.  
  48. // Error Box String Resources.
  49. STRINGTABLE DISCARDABLE
  50. BEGIN
  51.   IDS_ASSERT_FAIL         "COMOBJ: Assertion Failed."
  52. END
  53.  
  54.  
  55. // If being read in by AppStudio we don't confuse it with this Version Info.
  56. #ifndef APSTUDIO_INVOKED
  57.  
  58. //  The version information for the binary.
  59. VS_VERSION_INFO VERSIONINFO
  60. FILEVERSION    1,0,0,0
  61. PRODUCTVERSION 1,0,0,0
  62. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  63. #ifndef DEBUG
  64.   FILEFLAGS    0
  65. #else
  66.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  67. #endif
  68. FILEOS         VOS_NT_WINDOWS32
  69. FILETYPE       VFT_DLL
  70. FILESUBTYPE    VFT2_UNKNOWN
  71. BEGIN
  72.   BLOCK "StringFileInfo"
  73.   BEGIN
  74.     #ifdef UNICODE
  75.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  76.     #else
  77.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
  78.     #endif
  79.     BEGIN
  80.       VALUE "CompanyName",     "Microsoft Corporation"
  81.       VALUE "FileDescription", "COMOBJ: Tutorial Code Sample"
  82.       VALUE "FileVersion",     "1.00"
  83.       VALUE "InternalName",    "COMOBJ"
  84.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  85.       VALUE "OriginalFilename","COMOBJ.DLL"
  86.       VALUE "ProductName",     "Microsoft\256 Tutorial Code Samples"
  87.       VALUE "ProductVersion",  "1.00"
  88.     END
  89.   END
  90.  
  91.   BLOCK "VarFileInfo"
  92.   BEGIN
  93.     #ifdef UNICODE
  94.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  95.     #else
  96.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  97.     #endif
  98.   END
  99. END
  100.  
  101. #endif
  102.