I have a JS/HTML frontend and a C++ backend, all using ATL/WTL.
What I am trying to achieve is to create a bidirectional communication between them both, I already am able to call JS functions from C++ backend but I'm finding troubles when I try to send data from JS frontend.
I'm not trying to use a C++ library to extend functionality of HTML/JS, rather I'm trying to access data and methods of the C++ backend which embeds the HTML/JS windows. It is necessary to achieve bidirectional communication between the existing backend and the desired HTML frontend.
Any ideas?