Solved

Using Delphi for CGI

Posted on 1998-01-19
2
222 Views
Last Modified: 2013-12-25
I have a CGI program written in Delphi that receives the query_string value and processes it, how do I return the results to the server? I am writing it in Delphi 2 and use OmniHTPPd 1.01 as my test server.
0
Comment
Question by:sderaadt
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 1831844
Can you write to the standard output stream in Delphi?  I think you can, if so, that is where your output needs to go. When the web server runs a cgi program, it hooks the program's input and output stream to itself.
0
 

Author Comment

by:sderaadt
ID: 1831845
I dont't know! I'm asking you! I've tried everything I could find in the useless Delphi help system - I'm asking here as a last resort. I may ask it in the Delphi topic area if no-one knows here.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question