Closed Thread
Results 1 to 3 of 3

Thread: interface for .exe file

  1. #1
    runjun is offline Newbie
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0

    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. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

  4. #3
    JGRobinson's Avatar
    JGRobinson is offline Newbie
    Join Date
    Nov 2008
    Location
    UK
    Posts
    22
    Rep Power
    12

    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

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to interface Pajek with C/C++
    By alice06 in forum C and C++
    Replies: 0
    Last Post: 03-20-2011, 08:04 PM
  2. Replies: 1
    Last Post: 03-16-2011, 05:29 AM
  3. COM interface C# to C
    By acpaps in forum C# Programming
    Replies: 6
    Last Post: 12-23-2010, 06:20 AM
  4. Interface help..~
    By R3.RyozKidz in forum Java Help
    Replies: 2
    Last Post: 03-28-2010, 01:21 AM
  5. Interface for mysql
    By Ronin in forum Database & Database Programming
    Replies: 1
    Last Post: 05-11-2006, 12:33 AM

Tags for this Thread

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