+ Reply to Thread
Results 1 to 3 of 3

Thread: interface for .exe file

  1. #1
    Newbie runjun is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    1

    interface for .exe file

    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.

  2. #2
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: interface for .exe file

    No it isn't information jackspar, it's a question.

    @runjun: I'm not sure I understand, but you could easily get input. Perhaps a PHP GET could help you, by appending data onto the URL?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  3. #3
    Newbie JGRobinson is on a distinguished road JGRobinson's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    22

    Re: interface for .exe file

    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&parameter2=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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Project: ionFiles - Joomla Simple File Download
    By Jordan in forum Community Projects
    Replies: 369
    Last Post: 01-30-2010, 02:10 PM
  2. File Manager
    By Jaan in forum Community Projects
    Replies: 46
    Last Post: 12-22-2009, 01:16 AM
  3. What mode should i use at fopen()? r, r+, w+b???
    By tirengarfio in forum C and C++
    Replies: 3
    Last Post: 08-14-2008, 12:06 AM
  4. Windows Shortcut List - Saves Time
    By 2stamlers in forum The Lounge
    Replies: 6
    Last Post: 04-10-2008, 07:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts