========================================================================
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网络与通信程序设计》第二版的随书源码。代码主要包含Winsock使用、I/O异步套接字、重叠I/O模型、IOCP和可伸缩网络程序、广播与IP多播、Winsock SPI、NDIS和协议驱动开发、网络扫描和检测、P2P通信、网络截包、网络防火墙开发、电子邮件实现等内容。
资源推荐
资源详情
资源评论
收起资源包目录
王艳平《Windows网络与通信程序设计》随书源码(第2版) (646个子文件)
SmtpPop.aps 37KB
PhoenixFW.aps 30KB
DriverWizard.awx 24KB
bitmap1.bmp 3KB
protocol.c 45KB
miniport.c 42KB
PTEXTEND.C 14KB
filter.c 13KB
passthru.c 11KB
SmtpPop.clw 3KB
IOCP.CPP 25KB
ndisprot.cpp 16KB
Acl.cpp 13KB
PhoenixLSP.cpp 13KB
P2PClient.cpp 11KB
OverlappedServer.cpp 9KB
recv.cpp 9KB
RulePage.cpp 8KB
ndisbind.cpp 7KB
Provider.cpp 7KB
ScannerDemo.cpp 7KB
MailMessage.cpp 7KB
InstLSP.cpp 7KB
IPArp.cpp 7KB
DriverWizardAw.cpp 7KB
PhoenixFWDlg.cpp 7KB
RuleDlg.cpp 6KB
P2PServer.cpp 6KB
netstate.cpp 6KB
GroupTalk.cpp 6KB
PRuleFile.cpp 6KB
SMTP.cpp 6KB
MonitorPage.cpp 6KB
IPStat.cpp 6KB
SpoofArp.cpp 6KB
InstDemo.cpp 5KB
ProcDrv.cpp 5KB
KerRulePage.cpp 5KB
POP3.cpp 5KB
ptutils.cpp 5KB
LSP.cpp 5KB
protoutils.cpp 5KB
protoutils.cpp 5KB
protoutils.cpp 5KB
protoutils.cpp 5KB
protoutils.cpp 5KB
SmtpPopDlg.cpp 4KB
ptutils.cpp 4KB
EnumeHosts.cpp 4KB
GetConnTable.cpp 4KB
SyssetPage.cpp 4KB
rawudp.cpp 4KB
KerRuleDlg.cpp 4KB
PhoenixFW.cpp 4KB
main.cpp 4KB
EnumeHosts.cpp 3KB
IOCPDemo.cpp 3KB
routetracer.cpp 3KB
WSAAsyncSelect.cpp 3KB
ping.cpp 3KB
WSAEventSelect.cpp 3KB
ProcApp.cpp 3KB
ProtoPacket.cpp 3KB
ProtoPacket.cpp 3KB
ProtoPacket.cpp 3KB
ProtoPacket.cpp 3KB
PTUSERIO.CPP 3KB
IPRoute.cpp 2KB
P2PClientDemo.cpp 2KB
ChangeGateway.cpp 2KB
PasswordMonitor.cpp 2KB
Pop3Dlg.cpp 2KB
ptutils.cpp 2KB
select.cpp 2KB
GetIpAddrTable.cpp 2KB
send.cpp 2KB
Sniffer.cpp 2KB
PIOControl.cpp 2KB
DriverDemo.cpp 2KB
SmtpPop.cpp 2KB
join.cpp 2KB
SmtpDlg.cpp 2KB
NetTime.cpp 2KB
Debug.cpp 2KB
EventSelectServer.cpp 2KB
LocalHostInfo.cpp 2KB
RawEthernet.cpp 2KB
iocpserver.cpp 1KB
FilterTest.CPP 1KB
comm.cpp 1KB
TCPServer.cpp 1KB
WSAEnumProtocols.cpp 1KB
WSCEnumProtocols.cpp 1KB
GetIfEntry.cpp 1KB
sender.cpp 1KB
TCPClient.cpp 1KB
DriverWizard.cpp 1KB
GetInterfaceInfo.cpp 998B
UDPServer.cpp 966B
UDPClient.cpp 874B
共 646 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
mark_jz
- 粉丝: 16
- 资源: 49
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 矩阵式键盘按键值的数码管显示实验_单片机C语言实例(纯C语言源代码).zip
- NKUMachineLearning-lab2.1-线性logistics分类
- Pycharm-Python爬虫专业工具 我的最爱使用
- Wireshark-4.2.4-x64.exe
- Video DownloadHelper需要的合作应用VdhCoApp 2.0.19
- Screenshot_2024-04-20-16-26-41-628_com.tencent.mm-edit.jpg
- 基于python+YOLOV7与DeepLabv3+图像深度学习算法+车载摄像头道路识别+语音告知车道偏离、前后方车距等辅助驾驶
- SpringBoot项目2.6.6版本基础框架
- CursorAI编程和软件开发.txt
- C语言编写的学生管理系统,由多个 .c 文件和 .h文件组成 我用的是VSCode软件编写的
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页