-
.exe file on a web server
I'm currently customizing an email system that my company purchased. It's
mostly asp and html, so that part is no problem. The problem is that some
pages are .exe files. I am able to skirt around this for the most part,
but
I absolutely must customize one of the exe's. I have programming experience
in C++ and Java(much more experience), and feel like I can overcome this
obstacle, but I don't even know which language I should do this in. I need
to create a .exe file that will accept input from an html form and spit out
an asp page to the server (or an html file to the browser). What language
should I do this with?
-
Re: .exe file on a web server
Your .exe files are so called CGI programs.
CGI is common gateway interface. This is interface between web server and
your application. It`s very simple to write CGI enabled exe file. You just
need to get input from standart input, parse that input. After that you should
do something and generate an html text and print it to standart output. The
only thing shoud be made - you need to make printf("Content type:text/html\n\n");
before any output. Note there should be double \n !
There are many standart libraries that enables you to make input parsing
quickly. You can get one with example of how to write cgi programs at
http://www.newbreedsoftware.com/cgi-util/
"Slim" <daniel@rebelbiz.com> wrote:
>
>I'm currently customizing an email system that my company purchased. It's
>mostly asp and html, so that part is no problem. The problem is that some
>pages are .exe files. I am able to skirt around this for the most part,
>but
>I absolutely must customize one of the exe's. I have programming experience
>in C++ and Java(much more experience), and feel like I can overcome this
>obstacle, but I don't even know which language I should do this in. I need
>to create a .exe file that will accept input from an html form and spit
out
>an asp page to the server (or an html file to the browser). What language
>should I do this with?
>
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|