2 Topics

Member Avatar for
Member Avatar for kk33

Hi all , here is my code for GET request to a http site, but it keeps taking memory nor releasing it, here is the code: [CODE] while(1) { hSession = WinHttpOpen( L"Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0", WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0); if (hSession) hConnect = WinHttpConnect( hSession, L"lalala.com", …

Member Avatar for anirudh33
0
312
Member Avatar for kk33

Hi, I got a problem in my winttp code which is connecting to the URL successfully but not able to POST the data to the the server, here is my main part of the code [CODE] hSession = WinHttpOpen(L"User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12", WINHTTP_ACCESS_TYPE_NO_PROXY, …

0
94

The End.