========================================================================
CUSTOM APPWIZARD: DriverWizard
========================================================================
AppWizard has created a DriverWizard DLL for you. This DLL is the starting point
for writing your custom AppWizard. It demonstrates the basics of creating a
custom AppWizard.
Although your custom AppWizard is a DLL, it has the special suffix AWX. When
you build DriverWizard.awx, it will automatically be copied to your Template
directory. Your custom AppWizard will then appear as a choice in the Project
Type drop-list in the New Workspace and Insert Project dialogs. To run your
custom AppWizard, simply create a new workspace (or insert a project into the
current workspace), and select your custom AppWizard from the Project Type
drop-list.
This file contains a summary of what you will find in each of the files that
make up your DriverWizard DLL.
DriverWizard.dsw
This file (the project workspace file) contains information on the contents
and organization of the project workspace. Other users can share the project
workspace (.dsw) file, but they should export the makefiles locally.
Files associated with the project workspace file are a project file (.dsp)
for each project in the workspace and a workspace options file (.opt).
DriverWizard.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
DriverWizard.opt
This file (the workspace options file) contains the workspace settings that
you specify in the Project Settings dialog. These settings specify the
appearance of the project workspace using your hardware and configuration.
This binary file is automatically generated when you open the .dsw or .dsp
file in the IDE. You should not share the .opt file, because it contains
information specific to your computer.
DriverWizard.ncb
This file provides information on the NCB (No Compile Browse) parser, the
mechanism that updates ClassView and WizardBar.
This is a binary file that is generated automatically and should not be
shared.
DriverWizard.cpp
This file is the main DLL source file that contains the definition of
DllMain(). It also exports the function GetCustomAppWizClass(), which
returns a pointer to the one instance of this custom AppWizard's
CCustomAppWiz-derived class.
DriverWizard.h
This file is the main header file for the DLL. It includes your
RESOURCE.H file.
DriverWizard.rc
This file is a listing of all of the Microsoft Windows resources that the
program uses. It includes all of your custom AppWizard's templates as
custom resources of type "TEMPLATE". These resources are pointers to the
files in your project's TEMPLATE directory. This file can be directly
edited in the Visual C++ development environment. However, you will
probably want to edit your templates by opening the template files directly
in the source editor rather than by editing the "TEMPLATE" resources from
the Visual C++ resource editor.
DriverWizard.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
/////////////////////////////////////////////////////////////////////////////
Custom AppWizard Interface:
DriverWizardAw.h, DriverWizardAw.cpp - the CCustomAppWiz class
These files contain your CCustomAppWiz-derived class,
CDriverWizardAppWiz. This class contains virtual member functions which
MFCAPWZ.DLL calls to initialize your custom AppWizard and to query which
step to pop up at a given time. This class also contains m_Dictionary,
a CMapStringToString member variable, which maps template macro names
to their values.
/////////////////////////////////////////////////////////////////////////////
Template Files:
Template\
Put your template files in this directory. Template files are stored
in your custom AppWizard as custom resources of type "TEMPLATE", and are
used by your custom AppWizard to determine the contents of the files it
generates. When you add a new template file to this directory, you must
import that file as a "TEMPLATE" custom resource into DriverWizard.rc. Be
sure to select the "External File" checkbox on the custom resource's
property page.
Template\Confirm.inf
In this template you should put a description of the project your
custom AppWizard generates. The file uses template macros to customize the
text to reflect which options were selected by the custom AppWizard user.
When the custom AppWizard user clicks the "Finish" button, MFCAPWZ.DLL
parses this template and sends the output to the New Project Information
dialog.
Template\NewProj.inf
This template lists all of the templates other than Confirm.inf and
NewProj.inf which your custom AppWizard will use to generate a project.
After MFCAPWZ.DLL parses this template, the output lists the other
templates to be parsed and what the output files should be called.
Initially, this file contains the names of the templates that were
generated from the project "E:\test\DriverTemplate\DriverTemplate.dsp".
You will not need to edit this template unless you add functionality to
the project generated by your custom AppWizard.
See the documentation on custom AppWizards for a more complete
description of this template and the project generation process in general.
You have also been provided with template files in this directory based
off of the project "E:\test\DriverTemplate\DriverTemplate.dsp".
/////////////////////////////////////////////////////////////////////////////
Other Standard Files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named DriverWizard.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other Notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
没有合适的资源?快使用搜索试试~ 我知道了~
Windows程序设计 附书光盘 王艳平著 第2版
共659个文件
cpp:140个
h:126个
dsw:82个
5星 · 超过95%的资源 需积分: 9 34 下载量 134 浏览量
2012-12-29
21:47:12
上传
评论 1
收藏 15.9MB RAR 举报
温馨提示
王艳平《Windows程序设计(第2版)》的附书光盘。主要内容是书中的全部例子的源代码。 本资源为一个rar格式的文件,解压后得到4个文件夹: 1.配书代码 2.驱动程序向导 3.SkinMagic 4.VC++ .NET使用说明
资源推荐
资源详情
资源评论
收起资源包目录
Windows程序设计 附书光盘 王艳平著 第2版 (659个子文件)
ImageProcess.aps 29KB
AppMonitor.aps 20KB
DriverWizard.awx 24KB
DriverWizard.awx 24KB
picture1.bmp 9KB
picture2.bmp 9KB
Toolbar.bmp 8KB
Toolbar.bmp 1KB
ImageProcess.clw 3KB
AppMonitor.clw 1KB
WINCORE.CPP 13KB
Gray.cpp 12KB
THRDCORE.CPP 11KB
DrvFltIp.cpp 8KB
IPPack.cpp 8KB
looker.cpp 8KB
FileCutter.cpp 8KB
AFXTLS.CPP 8KB
Clock.cpp 8KB
MainFrm.cpp 8KB
DriverWizardAw.cpp 7KB
DriverWizardAw.cpp 7KB
AppMonitorDlg.cpp 7KB
IPPackLib.cpp 7KB
MonitorDir.cpp 7KB
Cutter.cpp 6KB
TCPClient.cpp 6KB
APIHook.cpp 6KB
APIHook.cpp 6KB
TCPClient.cpp 6KB
IntensityDlg.cpp 5KB
ComctlDemo.cpp 5KB
FirewallView.cpp 4KB
RemThreadInjector.cpp 4KB
MemRepair.cpp 4KB
ImageProcess.cpp 4KB
07UseWizardDlg.cpp 4KB
MAP_PP.CPP 4KB
Typer.cpp 4KB
Firewall.cpp 4KB
ReadBMP.cpp 4KB
MyFinder.cpp 4KB
Controls.cpp 4KB
APISpyApp.cpp 4KB
ImageProcessView.cpp 4KB
02MemRepair.cpp 3KB
CharConvert.cpp 3KB
Meminfo.cpp 3KB
FirewallDoc.cpp 3KB
04FirstWindow.cpp 3KB
TimerDemo.cpp 3KB
RuleDlg.cpp 3KB
MyButton.cpp 3KB
Vector2D.cpp 3KB
PredefineClass.cpp 3KB
MFCDemo.cpp 2KB
MainFrm.cpp 2KB
MyTls.cpp 2KB
SineWave.cpp 2KB
ImportTable.cpp 2KB
EnumProcessDlg.cpp 2KB
ULHook.cpp 2KB
HookDemo.cpp 2KB
AppMonitor.cpp 2KB
ImageProcessDoc.cpp 2KB
HookTermProLib.cpp 2KB
HookTermProApp.cpp 2KB
APPINIT.CPP 2KB
11DriverDemo.cpp 2KB
Debug.cpp 2KB
Debug.cpp 2KB
ServerDemo.cpp 2KB
CommDlg.cpp 2KB
PriorityDemo.cpp 2KB
07UseWizard.cpp 2KB
02UseTLS.cpp 1KB
KeyHookLib.cpp 1KB
DynCreate.cpp 1KB
ProgressDemo.cpp 1KB
KeyHookApp.cpp 1KB
ValidPE.cpp 1KB
RapidFinder.cpp 1KB
ClientDemo.cpp 1KB
FileFind.cpp 1KB
ShareMem.cpp 1KB
AFXSTATE.CPP 1KB
CriticalSection.cpp 1KB
APPCORE.CPP 1KB
OBJCORE.CPP 1KB
02CreateProcess.cpp 1KB
TypeIdentify.cpp 1KB
FirstDialog.cpp 1KB
Example.cpp 1KB
EventDemo.cpp 1KB
DriverWizard.cpp 1KB
DriverWizard.cpp 1KB
SelfRun.cpp 1012B
MyThread.cpp 996B
01CodeStyle.cpp 981B
InterlockDemo.cpp 938B
共 659 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
- wstc530329792014-09-04随书光盘 很全!
- JefferyLv2015-04-10不错的,可以好好学习学习
- feixiang04182014-07-19挺系统的讲解,适合有基础同学,虽然有点过时
- divxw9582013-06-06正在学,就差附书光盘,现在有了它,太谢谢啦!
- cleanmysoul2014-07-07good 正是我想要的 感谢分享!!!
纱织
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功