.exe's in web applications

This is a discussion on .exe's in web applications within the A Brief History of Cprogramming.com forums, part of the Community Boards category; 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 ...

  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,220
    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,789
    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, 08: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, 07:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21