CGI routines in VC++ or MFC

Does anybody have any examples or ready to use code of CGI routines in C++ or MFC.

Must have at least basic functionality of reading/writing to remote ports

regards

ManX
manxAsked:
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.

mikeblasCommented:
Remote ports? What do you mean?

CGI works by writing to standard out and reading the environment and standard input.

..B ekiM
0
manxAuthor Commented:
sorry slip of the mind there

:)

no remote ports

functions for reading and writing etc..
0
chensuCommented:
There are a lot of C++ CGI Class Libraries to make your life easier. I used to use cgiClass.

http://cgi.resourceindex.com/Programs_and_Scripts/C_and_C++/Libraries_and_Classes/

By the way, writing ISAPI extensions instead of CGI is better if your Web server is IIS.
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
mikeblasCommented:
See the DUMPSOME.ZIP sample at http://www.nwlink.com/~mikeblas/samples/ .  (Note: My samples will soon move to http://www.mooseboy.com/ )

..B ekiM
0
manxAuthor Commented:
Thank you both chensu and mikeblas

Regards

ManX
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
System Programming

From novice to tech pro — start learning today.