how to make CGI's?

Can you give me a small initiation guide on buiding a Delphi CGI?

Notes :
- What will the size of the file will be?
- can I use it on UNIX servers?
- What will be the CHMOD on the file?


Thanks
LVL 1
jpcsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RadlerCommented:
Hi jpcs;

At past you needed simulate user actions at a TWebBrowser, but my Delphi version is 4, then was impraticable to me.

Well, You want impossible things.
Delphi output files are Win32 files( Unix imcompatibles )
The file Size are the same to normal App's/Dll's
CHMOD are avaible to NTFS partitions and work only windows NT machines( See "Security Functions" at Win32 SDK )

if you want start to write CGI apps with Delphi the target plataform must be Windows + intel ( Wintel ).
Here some links:
http://super.sonic.net/ann/delphi/cgicomp/demos.html ( Basic )
http://kokoz.iteb.serpukhov.su/Tips/CGIApp.html
http://delphi.snapjax.com/isapiboard/_isapiboard/00000030.htm
http://www.cc.ece.ntua.gr/~jmelas/cgi.html ( advanced )
If anymore tell us.

T++, Radler.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RadlerCommented:
Another hint
Go to
http://delphi.snapjax.com/isapiboard/isapiboard_srch.htm
and look for CGI.

T++, Radler.
0
RadlerCommented:
Another hint
Go to
http://delphi.snapjax.com/isapiboard/isapiboard_srch.htm
and look for CGI.

T++, Radler.
0
jsextonCommented:
I asked a general CGI question a few weeks ago and successfully wrote a CGI app for Windows (for Windows not Unix).  Check out the question for some good links for Windows based CGI with Delphi and simple explanation of the whole thing at the end:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=delphi&qid=10192527 

FYI, my exe size was under 150k; I use no special components (just a unit with functions for handling DOS Environment variables)

It can be done as a console app for even smaller exe size (no forms)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.