On 11/19/2014 10:55 AM, Remy Lebeau (TeamB) wrote:
You probably have wininet.h and winhttp.h included at the same time. They
define their own copies of some shared types.
Hi Remy,
Thanks for the help!
So what is the best solution to this? What if I need both but can't use
it due to conflicts? Do I just manually copy what is needed from
winhttp.h and paste that into my source file and hope it's not the part
that conflicts?
#pragma comment(lib, "winhttp.lib")
Again, thanks! But I still can't get it to work.
I am creating the lib file like this:
C:\Windows\SysWOW64> implib C:\AlC_v150\lib\CSE_winhttp.lib .\winhttp.dll
Is winhttp.dll in C:\Windows\SysWOW64 the right one to use for a 32-bit
Win32 application?
I am including this in a cpp file:
#pragma comment(lib, "CSE_winhttp.lib")
I have the folder "C:\AlC_v150\lib" in my Library path.
But I still get:
[ilink32 Error] Error: Unresolved external '__stdcall
WinHttpGetDefaultProxyConfiguration(WINHTTP_PROXY_INFO *)' referenced
from ...
Any ideas as to what I'm doing wrong?
--
Thanks,
Albert Wiersch
http://www.htmlvalidator.com/
Connect with Us