Kevin
Sat Jul 17 14:32:27 CDT 2004
You're not going to be able to do this. The executable is not designed as an
ISAPI or CGI executable.
--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
<anonymous@discussions.microsoft.com> wrote in message
news:2f46301c46c24$ebc5d590$a301280a@phx.gbl...
> Thanks for clarification.
> Yes, it is .exe application.
>
> However, I understand many users may not accept the
> download. This probably due to antivirus software and the
> paranoia about ".exe" files. Well, anyway, NASA expressed
> a very warm welcome to download this program via internet
> last year.
>
> I uploaded it to server without problem and I can even
> download without problem to execute it. It is just that I
> don't want to execute it this way. I'm considering CGI to
> effect program execution, but I think the server probably
> would not like the I/O logic of the application since a
> timeout may occur due to runtime. I also would need to
> learn something more about CGI. I do have a Java applet
> version of the program, but I'd like to see the C++
> version implement since I/O has a different
> experience...also for historical reasons...eg. I did
> mention NASA. Actually, the Java applet version was a
> conversion with enhancements from the C++ version.
>
>
> >-----Original Message-----
> >If your C++ program compiles into an executable file
> >(.exe file extension) then it must reside on the
> computer
> >on which you are wanting it to run ... as I understand
> >this thread, on the site visitor's PC.
> >
> >Thus the exe program would have to be downloaded onto
> >that PC from the website. For security reasons, hosts
> >won't want exe files uploaded by you to their server. If
> >you can talk your host into accepting your exe file,
> >browers on visitor's PCs probably won't accept this
> >download.
> >
> >Thus you are limited to writing your program in a
> >language that can be run on the server ... Java, CGI,
> >ASP, PHP whatever your host's server supports.
> >
> >I hope this clears things up a bit for you.
> >
> >>-----Original Message-----
> >>It really depends on what exactly "the C++ program" IS.
> >C++ is merely a
> >>programming language. It doesn't tell us anything about
> >what type of program
> >>it is. Some apps are designed to work in browsers. Some
> >are designed to run
> >>over a TCP/IP network. Some are desktop apps. Some are
> >services. Etc.
> >>
> >>--
> >>HTH,
> >>Kevin Spencer
> >>..Net Developer
> >>Microsoft MVP
> >>Big things are made up
> >>of lots of little things.
> >>
> >><anonymous@discussions.microsoft.com> wrote in message
> >>news:2e6d801c46b76$8788f7f0$a401280a@phx.gbl...
> >>> Ok then, should I integrate a C++ program into a Java
> >>> applet and let the Java applet execute the C++
> program?
> >>> Or should I convert the C++ source code into java
> >source
> >>> code?
> >>>
> >>>
> >>> >-----Original Message-----
> >>> >A Java applet is a special kind of executable that
> can
> >>> be run in a browser.
> >>> >Not just any executable can.
> >>> >
> >>> >--
> >>> >HTH,
> >>> >Kevin Spencer
> >>> >..Net Developer
> >>> >Microsoft MVP
> >>> >Big things are made up
> >>> >of lots of little things.
> >>> >
> >>> ><anonymous@discussions.microsoft.com> wrote in
> message
> >>> >news:2e60201c46b68$93638440$a401280a@phx.gbl...
> >>> >> No, I already have a website and a web host. I'm
> >trying
> >>> >> to use FrontPage 2003 to make this happen. The C++
> >>> >> program file has been uploaded to my remote website
> >>> >> server root directory via FTP. Now, I wish to have
> >the
> >>> >> program execute when people visit one of my
> webpages
> >>> (via
> >>> >> whatever browser they have)by clicking on a
> >hyperlink
> >>> or
> >>> >> something. I already have a JAVA applet doing
> >something
> >>> >> similar at my website because I execute the JAVA
> >applet
> >>> >> as a web component. However, I see no functionality
> >>> >> specifically for C++ executable files. Is it
> >possible
> >>> to
> >>> >> create a HTML file as a webcomponent that invokes
> >the
> >>> C++
> >>> >> program? Or is there another alternative?
> >>> >>
> >>> >>
> >>> >> >-----Original Message-----
> >>> >> >Do you mean a Web Service?
> >>> >> >Here you can find info on building a Web Service:
> >>> >> >
http://search.microsoft.com/search/results.aspx?
> >>> >> qu=Web+Service&View=msdn
> >>> >> >&st=b&c=0&s=1&swc=0
> >>> >> >
> >>> >> >Regards Jens Peter Karlsen. Microsoft MVP -
> >Frontpage.
> >>> >> >
> >>> >> >-----Original Message-----
> >>> >> >From: anonymous@discussions.microsoft.com
> >>> >> >[mailto:anonymous@discussions.microsoft.com]
> >>> >> >Posted At: 16. juli 2004 19:53
> >>> >> >Posted To: microsoft.public.frontpage.programming
> >>> >> >Conversation: C++ Program
> >>> >> >Subject: C++ Program
> >>> >> >
> >>> >> >
> >>> >> >I have a C++ executable program at my website.
> How
> >do
> >>> I
> >>> >> link or create a
> >>> >> >webcomponent in order to make it run from my
> >website
> >>> via
> >>> >> browser rather
> >>> >> >than download a copy of the program from my
> website
> >>> for
> >>> >> running it?
> >>> >> >
> >>> >> >.
> >>> >> >
> >>> >
> >>> >
> >>> >.
> >>> >
> >>
> >>
> >>.
> >>
> >.
> >