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

📄 template.txt

📁 EVC4.rar
💻 TXT
📖 第 1 页 / 共 4 页
字号:
<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
[!&#133;].</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, &quot;</b><b><i>value&quot;</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, &quot;</b><b><i>value&quot;</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, &quot;</b><b><i>value&quot;</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 &quot;TRUE&quot; or &quot;FALSE&quot;
    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
    &quot;..\include\headerfile.h&quot;</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
    &quot;..\\include\\headerfile.h&quot;</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, &quot;</b><b><i>value&quot;</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>

<p><font size="2"><b>AddSymbolToString(NEWSYMBOL, &quot;</b><b><i>value&quot;</i></b><b>,
SYMBOL)</b></font></p>

<blockquote>
    <p><font size="2">Appends the string specified by the symbol
    to the value and associates the resulting value with the
    newsymbol.</font></p>
</blockquote>

<p><font size="2"><b>AddStringToSymbol(NEWSYMBOL, SYMBOL, &quot;</b><b><i>value&quot;</i></b><b>)</b></font></p>

<blockquote>
    <p><font size="2">Appends the value of the symbol specified
    by the second argument to the contents of the string value
    and associates the resulting value with the symbol specified
    as the first argument.</font></p>
</blockquote>

<p><font size="2"><b>AddSymbolToSymbol(SYMBOL1, SYMBOL2)</b></font></p>

<blockquote>
    <p><font size="2">Appends the value of SYMBOL2 to the value
    of SYMBOL1 and associates the resulting string with SYMBOL1</font></p>
</blockquote>

<p><font size="2"><b>Dialog(&quot;</b><b><i>dialog1_progid&quot;</i></b><b>[,&quot;</b><b><i>dialog2_progid&quot;</i></b><b>[,&#133;])</b></font></p>

<blockquote>
    <p><font size="2">Directive allows the user to invoke the
    property pages to allow the user to specify the settings for
    the object being inserted. Specify the ProgID of the
    registered property pages. Please refer to the section on
    property pages for information about registering property
    pages and communicating with the wizard from the property
    page.</font></p>
</blockquote>

<blockquote>
    <p><font size="2">You can specify a maximum of 9 pages.</font></p>
</blockquote>

<p><font size="2"><b>AddFileToProject(FILENAME)</b></font></p>

<blockquote>
    <p><font size="2">Adds the file to the project with the
    default build settings.</font></p>
</blockquote>

<p><font size="2"><b>strcpy(SYMBOL1, SYMBOL2)</b></font></p>

<blockquote>
    <p><font size="2">Copies the value of symbol2 to the symbol1</font></p>
</blockquote>

<p><font size="2"><b>toupper(SYMBOL)</b></font></p>

<blockquote>
    <p><font size="2">converts the value of the symbol to upper
    case</font></p>
</blockquote>

<p><font size="2"><b>tolower(SYMBOL)</b></font></p>

<blockquote>
    <p><font size="2">Converts the value of symbol to lower case</font></p>
</blockquote>

<p><font size="2"><b>AddRegistryToRC(RGSFILENAME, ID_RGS)</b></font></p>

<blockquote>
    <p><font size="2">Adds the specified RGS file into the
    resources as type REGISTRY with the specified ID.</font></p>
</blockquote>

<p><font size="2"><b>AddStringResource(ID_OF_STRING, SYMBOL)</b></font></p>

<blockquote>
    <p><font size="2">Adds a string resource with the specified
    ID to the RC file. The values of the string will be the value
    of the symbol.</font></p>
</blockquote>

<p><font size="2"><b>AddResourceFromFile(FILE, ID_RESOURCE,
RESOURCETYPE)</b></font></p>

<blockquote>
    <p><font size="2">Adds the contents of the specified file to
    the RC file under the correct resource type with the
    specified ID</font></p>
</blockquote>

<p><font size="2"><b>Debug ()</b></font></p>

<blockquote>
    <p><font size="2">If this directive is added to the .CTL file
    the wizard displays the directive that failed in case of a
    failure.</font></p>
</blockquote>

<p><font size="2"><b>Error (&quot;error message&quot;)</b></font></p>

<blockquote>
    <p><font size="2">Use this directive to terminate the wizard.
    It displays the error message before terminating.</font></p>
</blockquote>

<p><font size="2"><b>AddToMap(CLASSNAME, &quot;map&quot;,
&quot;map entry&quot;, &quot;#of parameters&quot; [,
&quot;parameter1&quot; [,...]])</b></font></p>

<blockquote>
    <p><font size="2">Adds an entry to the specified map in the

⌨️ 快捷键说明

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