TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version: 1.0
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To: "Robert C. Leif, Ph.D." <[log in to unmask]>
Date: Thu, 9 Dec 1999 19:28:00 -0500
Reply-To: "Robert I. Eachus" <[log in to unmask]>
From: "Robert I. Eachus" <[log in to unmask]>
X-cc: "Robert I. Eachus" <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset="us-ascii"
Parts/Attachments: text/plain (18 lines)
At 02:29 PM 12/9/1999 -0800, Robert C. Leif, Ph.D. wrote:
>I previously looked at uncgi. However, I did not wish to get a C compiler
>nor learn C. My suspicion is that the C code in uncgi permits reading the
>command line with the *.exe? part of the string. That is why I started this
>thread. Is there an Ada compiler for Windows 98, Windows CE, or any other
>reasonable INTEL based PC which can read the output of a HTML.Form.Get? I
>know about Post. However, one should first worry about reading the string,
>prior to the problem of its parsing.

     Look at the documentation.  All the data is put in environment variables of the form WWW_{name}.  As I said, my personal experience with it on Windows NT (I've also used it elsewhere) was very positive.  Throw the makefile at gcc and stand back, then install.  There was a glitch, but that was due to a slight HTTPS difference from http.  I accessed everything using Ada wrappers around getenv and setenv.  The wrappers were there to convert from null terminated strings to Ada Strings, and the "cgi-bin" programs compiled and executed correctly both on Solaris machines and on NT.

                                        Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...