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 / licserve / licserve.rc < prev    next >
Encoding:
Text File  |  1997-08-05  |  3.4 KB  |  104 lines

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