How to get Windows.h and associated filesI
-
How to get Windows.h and associated filesI
I am trying to find the header file Windows.h and the associated header files in order to compile a piece of code I am developing. Can anyone help. I've tried downloading Visual Studio 2008 SDK as recommended elsewhere but no joy.
-
-
Please complete/update your pc specs, so we can help you. Also Maryland is not an Operating System.
-
"Please complete/update your pc specs, so we can help you.:
I posted my system specs.
-
-
Quite strange that whatever C/C++ IDE you're using for developing doesn't actually include those. Any Windows development environment must include this and all other headers it includes for any kind of programming.
Does a simple
Code:
#include <windows.h>
throws any compilation error?
-
windows.h must be there
I tried compilation of
#include <windows.h>
with no comilation errors. That's good, but an indexed search of my computer cannot find windows.h or any of it's related header files. Can anyone explain why that's the case.
-
If it compiles correctly, the file is somewhere in the computer, but it appears that the search cannot find it. I would not trus too much the built in Win7 file search, as that index seems to get outdated quite easily and misses many files. Just use a more serios search tool and you'll find it. Most likely, those header files will be located in the program folder of the IDE.
-
-
Thanks, I'll look for a more serious search engine for my PC,