Данные, полученные WinHttpGetProxyForUrl, всегда имеют значение null.C++

Программы на C++. Форум разработчиков
Гость
Данные, полученные WinHttpGetProxyForUrl, всегда имеют значение null.

Сообщение Гость »

У меня есть следующий код:

Код: Выделить всё

#ifndef UNICODE
#define UNICODE
#endif

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0A00
#endif

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif

#include 
#include 
#include 
#include 

#pragma comment(lib, "winhttp.lib")

int wmain(int argc, wchar_t* argv[]) {
if (argc != 2) {
std::wcerr 

Подробнее здесь: [url]https://stackoverflow.com/questions/78181022/the-data-obtained-by-winhttpgetproxyforurl-is-always-null[/url]

Вернуться в «C++»