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 / readtut / readtut.rc < prev    next >
Encoding:
Text File  |  1997-08-05  |  3.3 KB  |  102 lines

  1. //===========================================================================
  2. //  File:      READTUT.RC
  3. //
  4. //  Summary:   Resource definition file for READTUT.EXE.
  5. //
  6. //  Origin:    12-18-96: atrent - Created for COM Tutorial Samples.
  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 only intended 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 readtut.h for Resource IDs unique to READTUT.EXE.
  26. #include <ole2.h>
  27. #include <apputil.h>
  28. #include "readtut.h"
  29.  
  30.  
  31. //  The main icon resource for the application.
  32. AppIcon ICON DISCARDABLE "readtut.ico"
  33.  
  34. // Message Box String Resources.
  35. STRINGTABLE DISCARDABLE
  36. BEGIN
  37.   IDS_COMINITFAILED       "READTUT.EXE: COM initizlization failed."
  38.   IDS_OUTOFMEMORY         "READTUT.EXE: Ran out of memory."
  39.   IDS_ASSERT_FAIL         "READTUT.EXE: Assertion Failed"
  40.   IDS_ERROR_TITLE         "-Error-"
  41. END
  42.  
  43. // The Loading Message Box dialog resource.
  44. IDD_LOADING_MSG DIALOG DISCARDABLE  60, 40, 117, 35
  45. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  46. CAPTION "-Notice-"
  47. FONT 8, "MS Shell Dlg"
  48. BEGIN
  49.   ICON   "AppIcon",-1,6,7,18,20
  50.   LTEXT  "Loading Tutorial",-1,32,7,75,8,NOT WS_GROUP
  51.   LTEXT  "Please Stand by...",-1,32,18,75,8,NOT WS_GROUP
  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_APP
  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", "READTUT: Tutorial Code Sample"
  82.       VALUE "FileVersion",     "1.00"
  83.       VALUE "InternalName",    "READTUT"
  84.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  85.       VALUE "OriginalFilename","READTUT.EXE"
  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.