What are the various ways I can achieve communication (like function calls) from a web application to a c++ application? I've developed the c++ application to do image processing and want to display and transmit the result in real time to a web-page displayed on a browser.
Things have changed since this was asked. You can now achieve this type of communication using websockets.
See:
http://en.wikipedia.org/wiki/WebSocket
and
http://www.html5rocks.com/en/tutorials/websockets/basics/
Nothing will 'transmit to a web browser'. Web browsers have to ask, and then you can respond with the data you want to display. As per @The MYYN, you can just have the C++ code drop suitable files and the browser can ask for them. Or, you can set up some sort of webapp.
If you use Ajax you can get the browser to poll for things to show and then show them. It's not a simple architecture.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With