how to downalod windows.h header file

Recommended Answers

i think window.h header file alreay compiler have itselves

Jump to Post

All 4 Replies

It should have come with your compiler. What compiler are you using? If your compiler doesn't find it, maybe the include-paths are not set correctly. Have you done a file-search for "windows.h"?

With MinGW, you can download and extract the win32 API headers and libraries from this page. But, normally, this is included in the installation.

You cannot just download windows.h, because that header is just the tip of the iceberg. It's basically a header that includes just about every possible function of the Win32 API, through many underlying headers (which is, of course, an absolutely terrible way to do things, but, hey, that's Microsoft for you). Using it also requires linking to a long list of libraries (usually setup by default on your compiler configurations, when installed, or when creating a new "windows" project).

don't download windows.h use visual cpp 2010 soft

In both Visual C++ 2010 Express and Code::Blocks with the Cygwin GCC compiler, using,#include <windows.h> works fine.

i think window.h header file alreay compiler have itselves

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.