[Xitami] New to Xitami & running xbase++ CGI's

Jeff Hamblin xitami@lists.xitami.org
Mon, 2 Jun 2003 08:41:39 -0700


From: <brent.mawhinney@rogers.com>
> Thanks. File received, loaded and run succussfully.
>  So I guess the issue isn't the mapping but some other setting.
>  I attempted to run my dll [ which is uspposed to call the exe ].
> MZLOAD1.dll and I receive a windows warning 'You area
> attempting to open a file of type "Application Extension" dll '
> and suggests that running a file of this type may be harmful
> etc. Its as if its trying to download the dll instaed of running
> it the same way IIS used to.
> 

CGI runs executable files -- not DLLs. DLLs are not directly
executable. As the name infers, they are Dynamic Link
Libraries that are used by applications.

Your DLL is likely an
ISAPI DLL designed to work with IIS. This has some performance
benefits since the DLL is loaded once by the IIS exe into
its memory space, whereas CGI exes must run-execute-close
each time they are needed.


Further, a CGI exe must
conform to the input/output requirements of CGI.
Try calling your exe directly.