<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>ATL Object Wizard</title>
</head>
<body bgcolor="#FFFFFF">
<p><font size="2">All wizard directives are enclosed in
[!…].</font></p>
<p><font size="2"><b>SYMBOLS</b> are denoted in uppercase.</font></p>
<p><font size="2">The wizard is case sensitive.</font></p>
<p><font size="2">The arguments to the wizard directives should
be between ( ).</font></p>
<p><font size="4"><b><u>Wizard Directives.</u></b></font></p>
<p><font size="2"><b>SYMBOL</b></font></p>
<blockquote>
<p><font size="2">Replaces the symbol with the value of the
symbol.</font></p>
</blockquote>
<p><font size="2"><b>if(SYMBOL)</b></font></p>
<blockquote>
<p><font size="2">Wizard ignores whatever is after this
statement till it finds an <b>else</b> or <b>endif</b>
directive if it does not find the symbol in its map. It does
not care for the value of the symbol.</font></p>
</blockquote>
<p><font size="2"><b>if!(SYMBOL)</b></font></p>
<blockquote>
<p><font size="2">Wizard ignores whatever is after this
statement till it finds an <b>else</b> or <b>endif</b>
directive if it finds the symbol in its map. It does not care
for the value of the symbol.</font></p>
</blockquote>
<p><font size="2"><b>if=(SYMBOL, "</b><b><i>value"</i></b><b>)</b></font></p>
<blockquote>
<p><font size="2">Wizard performs the directives after this
statement till it finds an <b>else</b> or <b>endif</b>
directive only if the value of the symbol matches the string.</font></p>
</blockquote>
<p><font size="2"><b>if!=(SYMBOL, "</b><b><i>value"</i></b><b>)</b></font></p>
<blockquote>
<p><font size="2">Wizard performs the directives after this
statement till it finds an <b>else</b> or <b>endif</b>
directive only if the value of the symbol does not match the
string.</font></p>
</blockquote>
<p><font size="2"><b>endif</b></font></p>
<blockquote>
<p><font size="2">Indicates the end of the if directives.</font></p>
</blockquote>
<p><font size="2"><b>else</b></font></p>
<blockquote>
<p><font size="2">Used with if directives to associate
directives when the condition fails.</font></p>
</blockquote>
<p><font size="2"><b>crlf</b></font></p>
<blockquote>
<p><font size="2">Inserts a new line in the output file.</font></p>
</blockquote>
<p><font size="2"><b>outputoff</b></font></p>
<blockquote>
<p><font size="2">Turns off the output of the processed file.</font></p>
</blockquote>
<p><font size="2"><b>outputon</b></font></p>
<blockquote>
<p><font size="2">Turns on the output of the processed file.</font></p>
</blockquote>
<p><font size="2"><b>set(SYMBOL, "</b><b><i>value"</i></b><b>)</b></font></p>
<blockquote>
<p><font size="2">Sets the value of the symbol in the map of
symbols. If the symbol is not in the map then it is added to
the map.</font></p>
</blockquote>
<p><font size="2"><b>RemoveSymbol (SYMBOL)</b></font></p>
<blockquote>
<p><font size="2">Removes the symbol from the internal map.</font></p>
</blockquote>
<p><font size="2"><b>include(FILENAME)</b></font></p>
<blockquote>
<p><font size="2">Parses the contents of the specified file
and add the parsed contents to the outputfile. It should be
included after a target directive.</font></p>
</blockquote>
<p><font size="2"><b>target() or target(FILENAME)</b></font></p>
<blockquote>
<p><font size="2">Specifies that further output should be
sent to the specified file if one is suggested. Use the
include directive to add contents of a template file in to
the output file after processing it.</font></p>
</blockquote>
<blockquote>
<p><font size="2">When specified without a filename it closes
the current outputfile.</font></p>
<p><font size="2">Before processing the file this Sets a
symbol FileExists to "TRUE" or "FALSE"
depending on whether the target file already exists.</font></p>
<p><font size="2">Example :</font></p>
<p><font size="2">target(CPPFILE)</font></p>
<p><font size="2">include(CPPTEMPLATE)</font></p>
<p><font size="2">target()</font></p>
<p><font size="2">The above directives assume that CPPFILE
and CPPTEMPLATE symbols point to valid filenames. The first
directive target(CPPFILE) specifies that further output
should be sent to the specified file. The
include(CPPTEMPLATE) directive specifies that the template
file specified by CPPTEMPLATE should be processed by the
wizard and the processed contents sent to the current output
file. The last directive target() specifies that the current
output file should be closed. At this point there is not
current output file.</font></p>
</blockquote>
<p><font size="2"><b>newguid(SYMBOL)</b></font></p>
<blockquote>
<p><font size="2">Directive creates a new guid and puts its
value into the specified SYMBOL</font></p>
</blockquote>
<p><font size="2"><b>CopyFile(EXISTINGFILENAME, NEWFILENAME)</b></font></p>
<blockquote>
<p><font size="2">Copies existing file to a new file</font></p>
</blockquote>
<p><font size="2"><b>DeleteFile(FILENAME)</b></font></p>
<blockquote>
<p><font size="2">Deletes the file</font></p>
</blockquote>
<p><font size="2"><b>GetTemporaryFileName(SYMBOL)</b></font></p>
<blockquote>
<p><font size="2">Uses system calls to create a temporary
filename and sets the symbol to the value.</font></p>
</blockquote>
<p><font size="2"><b>DoubleSlash(SYMBOL)</b></font></p>
<blockquote>
<p><font size="2">Adds a \ after an existing \ to the value
of the symbol. This will be useful when adding headers files
with a path in them.</font></p>
</blockquote>
<blockquote>
<p><font size="2">Example</font></p>
<p><font size="2">INCLUDEFILESTRING has value of
"..\include\headerfile.h"</font></p>
<p><font size="2">After the following directive is executed </font></p>
<p><font size="2">DoubleSlash(INCLUDEFILESTRING)</font></p>
<p><font size="2">INCLUDEFILESTRING will be
"..\\include\\headerfile.h"</font></p>
</blockquote>
<p><font size="2"><b>AddInterfaceToIDL(IDLFILENAME, FILENAME)</b></font></p>
<blockquote>
<p><font size="2">Processes the contents of the specified
file and adds it to the IDL file assuming that the contents
in the specified file is information about an Interface.</font></p>
</blockquote>
<p><font size="2"><b>AddCoClassToIDL(IDLFILENAME, FILENAME)</b></font></p>
<blockquote>
<p><font size="2">Processes the contents of the specified
file and adds it to the IDL file assuming that the contents
in the specified file is information about a CoClass.</font></p>
</blockquote>
<p><font size="2"><b>AddToObjectMap(COCLASSNAME, CLASSNAME)</b></font></p>
<blockquote>
<p><font size="2">Adds a directive to the ObjectMap of
project associating the CoClass with the class.</font></p>
</blockquote>
<p><font size="2"><b>AddIncludeFile(FILENAME, INCLUDEDIRECTIVE)</b></font></p>
<blockquote>
<p><font size="2">Adds the #include preprocessor directive to
the specified file. INCLUDEDIRECTIVE specifies what follows
#include. The is added after any existing #include directives
in the file.</font></p>
</blockquote>
<p><font size="2"><b>AddImportFile(IDLFILENAME, "</b><b><i>value"</i></b><b>)</b></font></p>
<blockquote>
<p><font size="2">Adds the import statement line to the
specified IDL file. Value specifies what to import. This is
added after any existing import statements in the IDL file</font></p>
</blockquote>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Microsoft Visual C++,(简称Visual C++、MSVC、VC++或VC)是Microsoft公司推出的以C++语言为基础的开发Windows环境程序,面向对象的可视化集成编程系统。它不但具有程序框架自动生成、灵活方便的类管理、代码编写和界面设计集成交互操作、可开发多种程序等优点,而且通过的设置就可使其生成的程序框架支持数据库接口、OLE2.0,WinSock网络
资源推荐
资源详情
资源评论
收起资源包目录
microsoft visual c++6.0安装包 32/64位 win7/win8/win10 (2000个子文件)
algorithm 46KB
VBSQL.BAS 27KB
MAPIVB.BAS 10KB
VCVARS32.BAT 989B
LCOVER.BAT 502B
LCOUNT.BAT 359B
FTIME.BAT 178B
FCOUNT.BAT 178B
FCOVER.BAT 178B
sin.bat 106B
VBSQL.BI 27KB
BITSET 7KB
3DCHECK.BMP 1KB
NTCHECK.BMP 378B
95CHECK.BMP 338B
TRUETYPE.BMP 262B
MINIFWND.BMP 198B
SBHEAP.C 103KB
OUTPUT.C 86KB
DBGHEAP.C 59KB
STRFTIME.C 33KB
TZSET.C 29KB
REALLOC.C 22KB
HEAPINIT.C 20KB
HEAPMIN.C 13KB
MALLOC.C 9KB
HEAPCHK.C 8KB
CALLOC.C 5KB
EXPAND.C 5KB
FREE.C 5KB
MSIZE.C 3KB
AGTCTL_I.C 2KB
MTXADMIN_I.C 2KB
AGTSVR_I.C 2KB
EVENTCPTS_I.C 2KB
MTSEVENTS_I.C 2KB
scarddat_i.c 1KB
scardmgr_i.c 1KB
scardsrv_i.c 1KB
MTXDM_I.C 1KB
sspsidl_i.c 1KB
MTSGRP_I.C 1KB
CASSERT 188B
CCTYPE 410B
CERRNO 410B
CERTSRV 10KB
CFLOAT 296B
CISO646 301B
CLIMITS 301B
CLOCALE 416B
CMATH 404B
COMPLEX 11KB
DAOCORE.CPP 132KB
DBCORE.CPP 113KB
WINCORE.CPP 107KB
DBRFX.CPP 89KB
OCCSITE.CPP 88KB
OLESVR1.CPP 75KB
INET.CPP 71KB
OLEVAR.CPP 69KB
WINSPLIT.CPP 63KB
OLECLI1.CPP 60KB
WINFRM.CPP 59KB
VIEWRICH.CPP 56KB
ISAPI.CPP 55KB
CTLCORE.CPP 50KB
OLEDISP1.CPP 44KB
DLGPROP.CPP 40KB
OLECLI2.CPP 40KB
OLEMISC.CPP 39KB
BARTOOL.CPP 39KB
OLEPSET.CPP 38KB
OLEDLGS1.CPP 38KB
CTLPPG.CPP 38KB
CTLPROP.CPP 36KB
OLESVR2.CPP 36KB
DAODFX.CPP 35KB
WINGDI.CPP 33KB
VIEWEDIT.CPP 33KB
WINCTRL2.CPP 33KB
WINMDI.CPP 32KB
VIEWPREV.CPP 30KB
CTLPROPX.CPP 29KB
DOCMGR.CPP 27KB
SOCKCORE.CPP 27KB
PPGFONT.CPP 27KB
VIEWSCRL.CPP 27KB
DCPREV.CPP 26KB
BARCORE.CPP 25KB
OLEDOCOB.CPP 25KB
CTLPSET.CPP 24KB
BARDOCK.CPP 24KB
THRDCORE.CPP 24KB
DOCCORE.CPP 23KB
DLGCORE.CPP 23KB
WINCTRL5.CPP 22KB
WINCTRL3.CPP 22KB
STREX.CPP 22KB
OLEDOC1.CPP 21KB
OLELINK.CPP 21KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
DNCS高级工程师
- 粉丝: 761
- 资源: 551
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功