S
S
Sanders Rocket2020-10-17 19:30:40
C++ / C#
Sanders Rocket, 2020-10-17 19:30:40

How to make a get request in c++?

void addinfo(const char* server, const char* nick, const std::string date)
{
  char iUrlChar[4096]; wchar_t* iUrl = new wchar_t[4096]; IStream* pStream = NULL;
  sprintf_s(iUrlChar, "link");
  MultiByteToWideChar(CP_ACP, 0, iUrlChar, -1, iUrl, 4096);
  URLOpenBlockingStreamW(0, iUrl, &pStream, 0, 0);
}

did this, but even slowly, and sometimes does not have time to work at all, how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2020-10-17
@SaNNy32

https://stackoverflow.com/questions/1011339/how-do...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question