Hi everyone,
I am trying to make a program which will allow you to input a number and then it will add that number into the URL. Here is some of the code:
Basically, I am allowing the user to store a number in a variable, and then the program will add that number onto the end of the URL so that an image with the name 'number.png' (where 'number' is the value they enter) will download. Long story short - how do you allow the user to change the URL that it downloads from?Code:HRESULT hr = URLDownloadToFile( NULL, L"http://www.my-site.com/number.png", L"image.bmp", 0, NULL );
Thanks.