I'm trying to have a function that checks to see what version of Explorer the PC is running.
DWORD dwStructSize = sizeof(INTERNET_VERSION_INFO);
InternetQueryOption(NULL,INTERNET_OPTION_VERSION, (LPVOID) &structVI, &dwStructSize);
CString minorVersion = structVI.dwMinorVersion;
if(minorVersion >= 1)
I get this error:
SmartClassMenuView.obj : error LNK2001: unresolved external symbol __imp__InternetQueryOptionA@16
k:\out\out\03\exec\Debug/SmartClass.exe : fatal error LNK1120: 1 unresolved externals
I've include the right header file which is "Wininet.h".
If you read the documentation in MSDN for InternetQueryOption it also talks about a "WinInet.lib" Is that is what is missing and if so where do I include that or find that library