views:

158

answers:

1

I've been trying to include winhttp.h and I get this error:

Winhttp.h: No such file or directory

Mingw doesn't have it, how would I add it?

+2  A: 

You can use runtime dynamic linking to link to the function(s) you want directly. You can't use the plain winhttp.h that ships with the Windows SDK because it contains Microsoft-specific features. You could also compile with Visual C++ 2010 Express Edition which would include the header you want.

Hope that helps :)

Billy ONeal