Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Opening a webpage in C++

Options
  • 21-07-2006 12:15pm
    #1
    Banned (with Prison Access) Posts: 5,154 ✭✭✭


    Hi Folks,
    I've been away from C++ for some time now, and I'm just trying to write a test script to QA and Client/Server app - so I just need to know one thing to get me going.
    I'm looking to open a webpage at, say:
    http://ipaddress/appdirection/<clientapp>?query=dictionary&word=test

    The client app will then return "true" or "false" according to whether the word "test" is in the dictionary.

    Any clues on how to simply open the webpage in the first place?
    I'll worry about reading the return statement when I get this first bit done.

    Cheers,
    S.


Comments

  • Banned (with Prison Access) Posts: 5,154 ✭✭✭Oriel


    Upon further inspection, looks like I'm going to have to use ShellExecute, but I'm getting a 'ShellExecute' undeclared error. Any ideas?


  • Closed Accounts Posts: 2,349 ✭✭✭nobodythere


    Last time I did programming around the web all of the API's were in msinet.dll but I think that's outdated

    Do you have the windows SDK? Look in the section
    Networking -> Network Protocols -> Windows HTTP Services

    The API is documented pretty well there. Sorry I can't be of any more help


  • Banned (with Prison Access) Posts: 5,154 ✭✭✭Oriel


    Cheers, got it sorted in the end :)


Advertisement