Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: How to get Windows.h and associated filesI

05 Dec 2012   #1

 
 
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.

My System SpecsSystem Spec
.

06 Dec 2012   #2

Dual-boot: Windows 7 HP 32-bit SP1 & Windows XP Pro 32-bit SP2.
 
 

Please complete/update your pc specs, so we can help you. Also Maryland is not an Operating System.
My System SpecsSystem Spec
08 Dec 2012   #3

 
 

"Please complete/update your pc specs, so we can help you.:

I posted my system specs.
My System SpecsSystem Spec
.


08 Dec 2012   #4

Windows 7 Ultimate x64
 
 

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?
My System SpecsSystem Spec
08 Dec 2012   #5

 
 
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.
My System SpecsSystem Spec
08 Dec 2012   #6

Windows 7 Ultimate x64
 
 

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 Windows 7 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.
My System SpecsSystem Spec
09 Dec 2012   #7

 
 

Thanks, I'll look for a more serious search engine for my PC,
My System SpecsSystem Spec
Reply

 How to get Windows.h and associated filesI





Thread Tools



Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:19 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33