Internet Server Sample: CGI Wrapper for ISAPI DLLs
This sample shows how to wrap an ISAPI DLL in a CGI executable, on systems
that cannot use the DLL for some reason.
To use this sample, simply build it by running nmake on the
makefile provided.
This will create cgiwrap.exe which can be renamed consistent with the name
of the DLL. For example, to call foo.dll from this wrapper, rename
cgiwrap.exe to foo.exe
To illustrate the usage, here is an example of calling the ISrvMon sample from
a CGI exe. cgiwrap.exe was renamed to ISrvMon.exe for this purpose. The
following form is identical to the ISrvMon sample, but calls ISrvMon.exe
instead. ISrvMon.DLL should, of course, be available for loading.
This is a GET operation
This is a POST operation