Hello
I have an application which I am able to run using command prompt. The application has a .exe and a .dll file.
To run the program i have to provide 1 compulsory input by command prompt.
I want to connect that .exe file to an html interface.
i know how to create html page. I also know how to give input to HTML using CGI.
but i dont know how to link .exe file to give input & also get output.
Plz help me.
Hi,
Assuming that its Windows, you could get the exe to write out a batch file (x.bat) which would consist of
start "full url including http?parameter1=yes¶meter2=no"
where the parameter is the params that you would pass to the html.
Getting the information back, you would somehow need to pause the exe, and then (assuming that it was a win32 exe) you should be able to use the clipboard to transfer the information from the browser back to the exe.
I suspect that having an exe talking to a browser isn't the correct design, and that you realistically should have one or the other - which is why its so difficult.
Hope this helps
Graham - http://programmingtips.co.uk
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks