Answer the question
In order to leave comments, you need to log in
Wininet. The request is not resubmitted, why?
Hello!
There is a class in C++ that describes how to send a request.
I use like this:
while(true) {
Sleep(1000);
HttpRequests http("api.***.org");
string page = http.WstringToString(http.SendInetRequest(P_HTTPS, M_GET, L"/***" L""));
MessageBox(NULL, page.c_str(), page.c_str(), MB_OK);
}
Answer the question
In order to leave comments, you need to log in
It's decided.
Sorry for the spam
The solution is simple:
InternetSetOption(0, 42, NULL, 0);
Just add this line.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question