Top
NetCOBOL V11.0 ISAPI Subroutines User's Guide
FUJITSU Software

D.8 Module Configuration

The module configuration of a CGI application is not restricted in particular except that it needs a main program. For an ISAPI application, however, the following three modules must be defined.

HttpExtensionProc corresponds to the main program of a CGI application. GetExtensionVersion and TerminateExtension, corresponding to nothing of a CGI application, are the functions used for the initialization and termination processing, respectively.

For details about GetExtensionVersion, HttpExtensionProc, and TerminateExtension, see "GetExtensionVersion" "HttpExtensionProc" and "TerminateExtension" In Chapter 2. Additionally, the main program must be named HttpExtensionProc. For example, modify the application as follows: