Caro0101
asked on
InternetQueryOption() & INTERNET_VERSION_INFO
Hi,
I'm trying to have a function that checks to see what version of Explorer the PC is running.
INTERNET_VERSION_INFO structVI;
DWORD dwStructSize = sizeof(INTERNET_VERSION_IN FO);
InternetQueryOption(NULL,I NTERNET_OP TION_VERSI ON, (LPVOID) &structVI, &dwStructSize);
CString minorVersion = structVI.dwMinorVersion;
if(minorVersion >= 1)
return true;
else
return false;
I get this error:
SmartClassMenuView.obj : error LNK2001: unresolved external symbol __imp__InternetQueryOption A@16
k:\out\out\03\exec\Debug/S martClass. 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
Thank you
I'm trying to have a function that checks to see what version of Explorer the PC is running.
INTERNET_VERSION_INFO structVI;
DWORD dwStructSize = sizeof(INTERNET_VERSION_IN
InternetQueryOption(NULL,I
CString minorVersion = structVI.dwMinorVersion;
if(minorVersion >= 1)
return true;
else
return false;
I get this error:
SmartClassMenuView.obj : error LNK2001: unresolved external symbol __imp__InternetQueryOption
k:\out\out\03\exec\Debug/S
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
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.