Right now, I'm working at a project that change it to support B/S mode. That is, user can do something by WebBrowser to invoke some functionality of C++ app, and I don' wanna make too complicated. The original C++ app don't support B/S, Is there any thirtd-party library to do that?Anyone tell me how to do that in more earier way?
If using SOCKET, I think that need to make a parser to analysizing middle-protocol, but this progress will spend much more time and quite complicated.
Hi,
I am not an expert in c++. :)
But as i read your ques, i think u wanna to access your c++ program thought web browser.i found one program on net by which u can easily access your c++ program through web browser.
can you please clarify where you getting problem in Browser/Server mode in you c++ program.
Actually, My C++ app provided some fundtionality to operating database. therefore I wanna put this functionality on website so that we can through WebBrowser to do that functionality directly. And I don't wanna maintain two piece of code that emulate that functionality in PHP/JSP script.(just because hard to maintain),
so Right now I can't find out a better solution(architecture) to retrofit c++ app , and make it having B/S mode.
For the Web side , PHP or JSP script or whatever is fine.
If using SOCKET, I think that it might be less efficient if consider extendibility in future.
Also, ATL/COM don't have portability , that's because win32-dependent.
Can you tell me which program can easily access c++ program through webbrowser?
Are you happy to use "web service" for this.
And you can embedded SSL for secure data manipulation.
If you need, I'll mail you the code. manipulate according your requirement.
One more thing, You can make shared library of your of that part of your c++ application which you want to communicate with web program.
And use that shared Lib with Web side , PHP or JSP script or whatever is fine