954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

C++ in web

Hi everybody,
Is it possible to run c++ console apps in webpages ? I know that its not possible, but is there a way to do that ?
Thanks.

Karlwakim
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 27
Solved Threads: 2
 

Yes, if you control the server, you can.
You can call the executable from a CGI or ASP or other just as you would spawn any other executable.

You will need to adhere to the rules of the operating system for the given user account running under the server.

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 
Moschops
Practically a Master Poster
620 posts since Sep 2008
Reputation Points: 258
Solved Threads: 117
 

Ok thanks thines and moschops.

Karlwakim
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 27
Solved Threads: 2
 

Another way is to use java applets with JNI. You can use JNI to access C++ functions and then you can use java to use applets to embed them on the web.

firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608
 

ok thanks

Karlwakim
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 27
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You