From c601c81646aee145571cd2e66c2dc34e3175f5db Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 26 Oct 2019 21:08:40 +0100 Subject: [PATCH] Removed new API --- native/dns/src/resolver_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/dns/src/resolver_windows.cpp b/native/dns/src/resolver_windows.cpp index c3d0989..13a186c 100644 --- a/native/dns/src/resolver_windows.cpp +++ b/native/dns/src/resolver_windows.cpp @@ -15,7 +15,7 @@ bool Resolver::initialize_platform(std::string &error, bool hosts, bool resolvco this->dnsapi.libhandle = LoadLibraryA("dnsapi.dll"); /* windows 8 or newer */ - if(this->dnsapi.libhandle) { + if(this->dnsapi.libhandle && false) { this->dnsapi.DnsCancelQuery = (decltype(this->dnsapi.DnsCancelQuery)) GetProcAddress(this->dnsapi.libhandle, "DnsCancelQuery"); this->dnsapi.DnsQueryEx = (decltype(this->dnsapi.DnsQueryEx)) GetProcAddress(this->dnsapi.libhandle, "DnsQueryEx");