Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

#include <windows.h> and #include <wininet.h>

Status
Not open for further replies.

robUK2

Programmer
Mar 10, 2008
57
0
0
TH
Hello,

VS c++ 2008

I am creating a http client application.

In doing some research I found that I have to include the wininet.h library into my application. I did this and when I compiled I got 283 errors.

However, I included the header <windows.h> and all thoughs error disppeared.

I guess that the wininet.h has dependances in the windows.h? And anyone correct if I am wrong about this.

Another thing, can't I include my headers like this:
#include <windows>
#include <wininet>

As I am writing a programming in C++ I thought I could do away with the .h extensions?

Many thanks,



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top