Jump to content
  • Advertisement
Sign in to follow this  
_moagstar_

[web] Accesing web forms from C++ Win32 App, Is there a scripting alternative?

This topic is 4129 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am completly new to web programming and scripting, I tried doing this in c++ and quickly decided that there must be a better way, but my lack of knowledge with regards to scripting is letting me down. I am trying to perform the following tasks (spawned from a c++ windows app I am developing) * Access a webpage * Fill in a form with specified text (passed from the windows app) * Submit the form Can anyone point me in the right direction as to how I can achieve this using scripting languages, and if there are any useful resources that would be useful for me to read. Many Thanks

Share this post


Link to post
Share on other sites
Advertisement
If you know what the form looks like (i.e. know the names of the fields) then you don't need to do all that. Just generate a valid HTTP GET or POST request and send it to the server. If you need a HTTP library, take a look at Curl.

[Edited by - Sander on June 5, 2007 3:57:37 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!