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 >
Wrap
Text File
|
1997-01-12
|
4KB
|
113 lines
//===========================================================================
// File: DLLSKEL.RC
//
// Summary: Resource definition file for DLLSKEL.DLL.
//
// Origin: 8-5-95: atrent - Editor-inheritance from the EXESKEL source.
//
// -------------------------------------------------------------------------
// This file is part of the Microsoft ActiveX 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 dllskeli.h for Resource IDs unique to DLLSKEL.DLL.
#include <ole2.h>
#include <apputil.h>
#include "dllskeli.h"
// The main icon resource for the application.
AppIcon ICON DISCARDABLE "dllskel.ico"
// The DLLSKEL About Box dialog resource.
IDD_ABOUTBOX DIALOG DISCARDABLE 67, 46, 196, 53
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About DLLSKEL"
FONT 8, "MS Shell Dlg"
BEGIN
ICON "AppIcon",-1,6,7,18,20
LTEXT "Tutorial Code Sample: DLLSKEL 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_COMINITFAILED "DLLSKEL: COM initialization failed."
IDS_DLLINITFAILED "DLLSKEL: DLL initialization failed."
IDS_OUTOFMEMORY "DLLSKEL: Ran out of memory."
IDS_NOHELPFILE "DLLSKEL: Can't find .HLP file."
IDS_ASSERT_FAIL "DLLSKEL: Assertion Failed."
END
// Notice Box String Resources.
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELLOCOUNTFMT "DLLSKEL instance %i hello. Shared count = %i."
IDS_HELLOTITLE "DLLSKEL.DLL called by DLLUSER.EXE"
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=Multilingual
#endif
BEGIN
VALUE "CompanyName", "Microsoft Corporation"
VALUE "FileDescription", "DLLSKEL: Tutorial Code Sample"
VALUE "FileVersion", "1.00"
VALUE "InternalName", "DLLSKEL"
VALUE "LegalCopyright", "Copyright \251 1997 Microsoft Corp. "
VALUE "OriginalFilename","DLLSKEL.DLL"
VALUE "ProductName", "Microsoft\256 Tutorial Code Samples"
VALUE "ProductVersion", "1.00"
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