missing header files

hello all....

the master of weird annoying problems is back.

 

ok heres my problem, wenever i try to compile a programm and include windows.h, i get an error saying that it cannot find windef.h can any body tell me wat happend to it and if i never had it to start out with is there a way i can download it or get it back

 

thanx, jt




Answer this question

missing header files

  • KTI

    i do have another compiler that has all these files, but some of the headers do not agree with the visual studio and the other compiler cant do dlls so i cant use it

  • PaoloZ

    Ack, scratch that, read.

    I just noticed what you wrote.

    It seems as if you are trying to use the windows libraries and headers by copying the files from one place and putting them elsewhere. That wont work. You need to get the PlatformSDK and install that and then set the paths according to http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx



  • Daikoku

    Is winddef.h in the PlatformSDK include directory along with windows.h

  • Qaayam

    if u mean is it in c:\program files\microsoft visual studio\vc\include which is ware windows.h then no it is not

  • SolidStrategies

    Well, if windef.h is not in the same directory as the windows.h file you are using then there is a problem. I suggest you repair install/reinstall your copy of visual studio because that header file is missing.



  • @nt

    i havent done any thing to it. i am using visual studio express

  • Cammyr

    ill look

  • Manash

    ancient sord wrote:

    wenever i try to compile a programm and include windows.h, i get an error saying that it cannot find windef.h can any body tell me wat happend to it and if i never had it to start out with is there a way i can download it or get it back

    My copy of windef.h is in the same Platform SDK /include directory as windows.h. You can reinstall the Platform SDK to restore the file.

    - Dennis

    Question: Are you using the latest Platform SDK ("Microsoft Platform SDK for Windows Server 2003 R2") in its default installation configuration, or have you moved some of the files around



  • Aiwa

    wares platform sdk is that c:\program files\ microsoft visual studio 8\sdk

  • missing header files