Well...
ISAPI/NSAPI Dynamic Link Library:
ISAPI and NSAPI Web server applications are DLLs that are loaded by the Web server. Client request information is passed to the DLL as a structure and evaluated by TISAPIApplication.
Each request message is handled in a separate execution thread.
Selecting this type of application adds the library header of the project files and required entries to the uses list and exports clause of the project file.
CGI standalone executable:
A CGI standalone Web server application is a console application that receives client request information on standard input and passes the results back to the server on standard output. This data is evaluated by TCGIApplication.
Each request message is handled by a separate instance of the application.
Selecting this type of application adds the required entries to the uses clause of the project file and adds the appropriate $APPTYPE directive to the source.
Win-CGI standalone executable:
A Win-CGI standalone Web server application is a Windows application that receives client request information from a configuration settings (INI) file written by the server and writes the results to a file that the server passes back to the client. The INI file is evaluated by TCGIApplication.
Each request message is handled by a separate instance of the application.
Selecting this type of application adds the required entries to the uses clause of the project file and adds the appropriate $APPTYPE directive to the source.
I would go in for the dll, but then debugging can be a problem because you will have to shut down the web server, unless it supports removal or a dll from it's memory space.
An exe, is a heavy weight application. As mentioned above, it requires another instance of the application which consumes a lot of resources of the web server, unless your site has less than 10 hits at a given time, it is fine, but what if it grows to a million (OH MY GOSH), the server could go ill
So there is no problem in developing a CGI/WINCGI application for the purpose of debugging and testing, but you will have to convet it to a dll for deployment purposes
Welcome to the Pythian Games!
Long live Godess Athena!
dArktEmplAr of Delphi Oracle