Products - MidWare Web Technology


      MwGate is a collection of Gateways based on the MidWare components, which can be used for Web applications requiring CGI, ISAPI and ASP support. The distribution currently contains three Gateway modules:

  • ActiveX: MWClient.ocx
  • CGI: CgiGate.exe
  • ISAPI: IsaGate.dll

      MWClient, IsaGate and CgiGate are Copyrighted © by François Piette. Permission is required to use this software. To request permission contact Francois Piette by email at:

      The MwGate distribution contains instructions for installation and use. Support is offered through the MidWare support Mailing List.

      Below is a description of the three Gateway modules included in the MwGate distribution:



MidWare Gateway Description
MWClient.ocx MWClient.ocx is an ActiveX than act as a client to a MidWare application server. It is very close to the native VCL MidWare components. MWClient is made or a TAppSrvClient and a TMWBuffer. It exposes properties and methods to build a request and send it to MidWare application server, wait for the reply and fetch result set. MWClient is intended for ASP web pages but can be used with any development tool that support ActiveX such as Visual Basic or Visual C/C++.
CgiGate.exe CgiGate.exe is a very small and fast CGI program which act as a Gateway to MidWare application server. You use CgiGate.exe like any other CGI from you HTML page. When run, this CGI pass all data it receive to MidWare application server for processing. A TServerObject has to handle the request according to what you need to do and produce HTML output that is sent back to the client's browser. The TServerObject that is triggered is the one responding to the FunctionCode equal to CgiGate executable (you may rename the file suit your need and to have several differents requests).
IsaGate.dll IsaGate is just the same as CgiGate, but it is an ISAPI extension (a DLL) which has the advantage to be yet more faster, but require a Microsoft webserver while CgiGate works with any webserver.