I’m trying to link statically on VS2019 using:
At “stdafx.h”:
#define LEXACTIVATOR_STATIC
#ifdef _DEBUG
#pragma comment(lib, "LexActivator/LexActivatord.lib")
#pragma comment(lib, "LexActivator/libcurl_MDd.lib")
#else
#pragma comment(lib, "LexActivator/LexActivator.lib")
#pragma comment(lib, "LexActivator/libcurl_MD.lib")
#endif
…
At cpp file:
#include “stdafx.h”
#include “LexActivator.h”
…
And I get this linking error:
12>LexActivatord.lib(LexAbstraction.obj) : error LNK2019: unresolved external symbol __imp_WinHttpGetIEProxyConfigForCurrentUser
Any idea ?
Thanks.