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
/
dllserve
/
dllserve.rc
< prev
next >
Wrap
Text File
|
1997-08-05
|
4KB
|
105 lines
//===========================================================================
// File: DLLSERVE.RC
//
// Summary: Resource definition file for DLLSERVE.DLL.
//
// Origin: 9-11-95: atrent - Editor-inheritance from the COMOBJ source.
//
// -------------------------------------------------------------------------
// This file is part of the Microsoft COM Tutorial Code Samples.
//
// Copyright (C) Microsoft Corporation, 1997. All rights reserved.
//
// This source code is intended only as a supplement to Microsoft
// Development Tools and/or on-line documentation. See these other
// materials for detailed information regarding Microsoft code samples.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//===========================================================================
// We include ole2.h because we're defining the Version Info.
// We inlcude apputil.h for Resource IDs shared with APPUTIL.
// We include server.h for Resource IDs unique to DLLSERVE.DLL.
#include <ole2.h>
#include <apputil.h>
#include "server.h"
// Dummy resource (needed for AppStudio).
DummyRes ICON DISCARDABLE "dllserve.ico"
// The main icon resource for the application.
AppIcon ICON DISCARDABLE "dllserve.ico"
// The DLLSERVE About Box dialog resource.
IDD_ABOUTBOX DIALOG DISCARDABLE 67, 46, 196, 53
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About DLLSERVE"
FONT 8, "MS Shell Dlg"
BEGIN
ICON "AppIcon",-1,6,7,18,20
LTEXT "Tutorial Code Sample: DLLSERVE Version 1.0",-1,32,7,
155,8,NOT WS_GROUP
LTEXT "Copyright 1997 Microsoft Corporation",-1,32,18,155,
8,NOT WS_GROUP
PUSHBUTTON "OK",IDOK,75,32,40,14
END
// Error Box String Resources.
STRINGTABLE DISCARDABLE
BEGIN
IDS_ASSERT_FAIL "DLLSERVE: Assertion Failed."
END
// If being read in by AppStudio we don't confuse it with this Version Info.
#ifndef APSTUDIO_INVOKED
// The version information for the binary.
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifndef DEBUG
FILEFLAGS 0
#else
FILEFLAGS VS_FF_DEBUG | VS_FF_PRERELEASE
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
#ifdef UNICODE
BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
#else
BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
#endif
BEGIN
VALUE "CompanyName", "Microsoft Corporation"
VALUE "FileDescription", "DLLSERVE: Tutorial Code Sample"
VALUE "FileVersion", "1.00"
VALUE "InternalName", "DLLSERVE"
VALUE "LegalCopyright", "Copyright \251 1997 Microsoft Corp. "
VALUE "OriginalFilename","DLLSERVE.DLL"
VALUE "ProductName", "Microsoft\256 Tutorial Code Samples"
VALUE "ProductVersion", "1.00"
VALUE "OLESelfRegister", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
#ifdef UNICODE
VALUE "Translation", 0x409, 1200 //English (0x409), Unicode (1200)
#else
VALUE "Translation", 0x409, 1252 //English (0x409), ANSI (1252)
#endif
END
END
#endif