⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 The code for this article was written for version 1.0 of the Active Template Library (ATL). The cu
💻 TXT
字号:
        The ShortCutSvr Component and the CShorCut Class

If you want to use the component without rebuilding it from the source
code, you must first register it with REGSVR32.EXE. This tool is
provided with Microsoft Visual C++ and with Microsoft Visual Basic. 
The syntax is:

   regsvr32 shortcutsvr.dll

The ShortCutSvr component was created with the Active Template
Library (ATL), version 1.1. It has not been rebuilt with the current 
version of ATL provided with Microsoft Visual C++ 6.0. It would require 
modification to work with the current version. I had to go through 
major contortions to port the Sieve server to a compatible version of
with Visual C++ 6.0, and I suspect that converting this one would also
be a lot of work. 

The code discussed in the article was subsequently rewritten in Visual 
Basic for Hardcore Visual Basic, Second Edition. The Visual Basic 
version is discussed in Chapter 10 of the book starting on page 577.

The following files are provided:

File                    Contents
====                    ========
README.TXT              This file
ShortCutSvr.Dll         The ShortCutSvr component
longer.bat              Batch file to rename to long file names
shorter.bat             Batch file to rename to short file names
dlldata.c               MIDL-generated proxy file
Resource.h              Wizard-generated resource constant file
ShortCut.cpp            Implementation of CShortCut class
ShortCut.h              Header for CShortCut class
ShortCutSvr.cpp         Server implementation file
ShortCutSvr.def         Server DEF file
ShortCutSvr.h           Server header file
ShortCutSvr.Idl         Server IDL (type definition) file
ShortCutSvr.mak         Server make file
ShortCutSvr.mdp         Server project file
ShortCutSvr.rc          Server resource file
ShortCutSvr.tlb         Server type library file
ShortCutSvr_i.c         Wizard-generated interface file
ShortCutSvr_p.c         Wizard-generated proxy stub file
ShortCutSvrps.def       Wizard-generated proxy stub DEF file
ShortCutSvrps.mak       Wizard-generated proxy stub make file
StdAfx.cpp              Standard include file implementation file
StdAfx.h                Standard include file header file
TShortcut.Frm           Visual Basic test form file
TShortcut.frx           Visual Basic test form binary file
TShortcut.vbp           Visual Basic test project file

If you modify or enhance my source files, please change the component
name and give it new GUIDs. I don't want multiple incompatible versions 
of the component floating around.

Bruce McKinney

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -