tags:

views:

9

answers:

0

Hey people, I have to do some HTTP interaction, which I relied on my own WinInet class so far. Now it comes to handling JS. I have to work with a site that requires JS. No way around it.

So what would you suggest for C++ HTTP + JS interaction? I would love something like mechanize (perl, python, etc), that makes whole form interaction easier. But I could live with some sort of webbrowser emulation "component".

If possible, I do not want to use MFC libraries. The program should be statically linked and run on every machine from XP to Windows 7 without any 3rd party libraries to install.

The worst case scenario I imagined was creating a C# dll with some webbrowser component and export all the access methods, then call them via my C++ program.

Thanks for reading :)Hey people, I have to do some HTTP interaction, which I relied on my own WinInet class so far. Now it comes to handling JS. I have to work with a site that requires JavaScript. No way around it.

So what would you suggest for C++ HTTP + JS interaction? I would love something like mechanize (perl, python, etc), that makes whole form interaction easier. But I could live with some sort of webbrowser emulation "component".

If possible, I do not want to use MFC libraries. The program should be statically linked and run on every machine from XP to Windows 7 without any 3rd party libraries to install.

The worst case scenario I imagined was creating a C# dll with some webbrowser component and export all the access methods, then call them via my C++ program.

Thanks for reading :)

Edit: Problem solved. I am using a TWebBrowser component with delphi now. The functionality gets exported via dll.