home *** CD-ROM | disk | FTP | other *** search
/ PC Press 1997 July / Sezamfile97_2.iso / windows / program / activex / axtsamp.exe / TSBRANCH.EXE / DLLSKEL / DLLSKEL.RC < prev    next >
Text File  |  1997-01-12  |  4KB  |  113 lines

  1. //===========================================================================
  2. //  File:      DLLSKEL.RC
  3. //
  4. //  Summary:   Resource definition file for DLLSKEL.DLL.
  5. //
  6. //  Origin:    8-5-95: atrent - Editor-inheritance from the EXESKEL source.
  7. //
  8. // -------------------------------------------------------------------------
  9. //  This file is part of the Microsoft ActiveX 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 dllskeli.h for Resource IDs unique to DLLSKEL.DLL.
  26. #include <ole2.h>
  27. #include <apputil.h>
  28. #include "dllskeli.h"
  29.  
  30.  
  31. //  The main icon resource for the application.
  32. AppIcon ICON DISCARDABLE "dllskel.ico"
  33.  
  34. //  The DLLSKEL 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 DLLSKEL"
  38. FONT 8, "MS Shell Dlg"
  39. BEGIN
  40.   ICON            "AppIcon",-1,6,7,18,20
  41.   LTEXT           "Tutorial Code Sample: DLLSKEL 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_COMINITFAILED       "DLLSKEL: COM initialization failed."
  52.   IDS_DLLINITFAILED       "DLLSKEL: DLL initialization failed."
  53.   IDS_OUTOFMEMORY         "DLLSKEL: Ran out of memory."
  54.   IDS_NOHELPFILE          "DLLSKEL: Can't find .HLP file."
  55.   IDS_ASSERT_FAIL         "DLLSKEL: Assertion Failed."
  56. END
  57.  
  58. // Notice Box String Resources.
  59. STRINGTABLE DISCARDABLE
  60. BEGIN
  61.   IDS_HELLOCOUNTFMT       "DLLSKEL instance %i hello. Shared count = %i."
  62.   IDS_HELLOTITLE          "DLLSKEL.DLL called by DLLUSER.EXE"
  63. END
  64.  
  65.  
  66. // If being read in by AppStudio we don't confuse it with this Version Info.
  67. #ifndef APSTUDIO_INVOKED
  68.  
  69. //  The version information for the binary.
  70. VS_VERSION_INFO VERSIONINFO
  71. FILEVERSION    1,0,0,0
  72. PRODUCTVERSION 1,0,0,0
  73. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  74. #ifndef DEBUG
  75.   FILEFLAGS    0
  76. #else
  77.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  78. #endif
  79. FILEOS         VOS_NT_WINDOWS32
  80. FILETYPE       VFT_DLL
  81. FILESUBTYPE    VFT2_UNKNOWN
  82. BEGIN
  83.   BLOCK "StringFileInfo"
  84.   BEGIN
  85.     #ifdef UNICODE
  86.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  87.     #else
  88.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Multilingual
  89.     #endif
  90.     BEGIN
  91.       VALUE "CompanyName",     "Microsoft Corporation"
  92.       VALUE "FileDescription", "DLLSKEL: Tutorial Code Sample"
  93.       VALUE "FileVersion",     "1.00"
  94.       VALUE "InternalName",    "DLLSKEL"
  95.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  96.       VALUE "OriginalFilename","DLLSKEL.DLL"
  97.       VALUE "ProductName",     "Microsoft\256 Tutorial Code Samples"
  98.       VALUE "ProductVersion",  "1.00"
  99.     END
  100.   END
  101.  
  102.   BLOCK "VarFileInfo"
  103.   BEGIN
  104.     #ifdef UNICODE
  105.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  106.     #else
  107.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  108.     #endif
  109.   END
  110. END
  111.  
  112. #endif
  113.