Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sirs,
I am using WinHTTP for connection to server and send/receive data.
I want know how I can read read URL content after connecting to my website?
I mean what are the correct settings for below functions:

httpResult = WinHttpSendRequest( hRequest, WINHTTP_NO_ADDITIONAL_HEADERS, 0, WINHTTP_NO_REQUEST_DATA, 0, 0, 0);
httpResult = WinHttpReceiveResponse( hRequest, NULL);


Thanks.
Posted
Updated 7-May-10 1:09am
v3

 
Share this answer
 
Dear Sirs,
Thank you for your helping,
Finally I succeed read data from my webpage.
My webpage send date as "1273253763" to me.
I found I received this number as const char* and it is not int or double number.
I want know how I can convert that to int or double number?

Thanks,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900