Thread: .exe's in web applications

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    .exe's in web applications

    Hey everyone, the other day I saw a URL that looked like this:
    http://www.whatever.com/thingy/app.exe?var=foobar
    Its calling the app the way you would an ASP page for PHP page. Anyone know how this is done?

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    just a guess...put the app in the cgi-bin with the right permissions?

    works on unix.

  3. #3
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    It is possible to execute .exe files with web servers that support it, e.g. IIS.

    Here's an example from my homepage, it's an online compiler written in C++.

    The information sent to cout will be displayed in the webbrowser, and the information posted to the .exe with a form is read with cin.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Also the URL could be an alias....no guarantee that it goes directly to an exe....

  5. #5
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    as far as i know you can send information to any form of binary code as a CGI. I've seen people do it with dll's even. If you can compile it you can use it as a CGI.
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using C++ for Web Applications
    By seventheye in forum Windows Programming
    Replies: 0
    Last Post: 12-15-2007, 02:53 PM
  2. A question about windows programming
    By Hussain Hani in forum Windows Programming
    Replies: 16
    Last Post: 05-23-2007, 07:38 AM
  3. Consuming same Web Service multiple times
    By cfriend in forum C# Programming
    Replies: 2
    Last Post: 01-10-2006, 09:59 AM
  4. C Applications in Web Sites
    By jamez05 in forum C Programming
    Replies: 5
    Last Post: 08-15-2005, 06:49 PM