PDA

Click to See Complete Forum and Search --> : How can I parameters to an exe on a Web server from client?


Reddawn
Oct 6th, 2000, 12:13 PM
What I want to do is to send some data retrieved from a form in web page to an exe file on server side. The exe will recieve parameters and will process calculations..

Like:

FORM:

Enter Number 1: 5 (n1)
Enter Number 2: 3 (n2)

response.redirect("www.blabla.com/add.exe n1 n2")

add.exe will then be run on server and add n1 & n2, will evaluate result that is 8 and will send this to cgi(?)

monte96
Oct 6th, 2000, 03:38 PM
Your best bet is to create the exe as a dll. You can easily instantiate an object of the dll and pass the parameters to it.