|
Microsoft IIS
| [Previous] [Main] [Next] |
|
| |
| If using CGI, instantiate the htmlCgi class at the start of your application.
| |
|
| |
| If you wish to create an ISAPI server extension, instantiate the htmlISAPI class instead of htmlCgi in your DLL entry point. For details, refer to the example for htmlISAPI. Because ISAPI requires a DLL interface, it's often convenient to develop and test your application as a stand-alone executable using htmlCgi, then switch to using htmlISAPI for final testing and deployment.
| |
|
| |
|
|
| |
| To embed html++ output within another document, you must use Server-Side Includes. Within the HTML document, you must specify the application to be executed using an HTML comment. For example:
| |
|
| |
| <!--#exec cgi ="/scripts/yourapp.dll?name=value"-->
| |
|
| |
| You may also find it useful to simply include other static documents within a document, such as for page headers, page footers, copyright notices, etc. To do that, embed the following within your document:
| |
|
| |
| <!--#include file="document.htm"-->
| |
|
| |
| Note that the pathname for include'd files is relative to the directory of the parent document.
| |
|
| |
