2005 Express: Can't open 'windows.h'

This is a discussion on 2005 Express: Can't open 'windows.h' within the Windows Programming forums, part of the Platform Specific Boards category; Microsoft Visual C++ 2005 Express can't find the include file 'windows.h.' I know there is an easy solution, but I ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    196

    Red face 2005 Express: Can't open 'windows.h'

    Microsoft Visual C++ 2005 Express can't find the include file 'windows.h.'

    I know there is an easy solution, but I have no idea what it is.

    Any ideas?

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Then include <windows.h> or use Dev-C++.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    196
    It's right there in my code
    Code:
    #include <windows.h>
    It is causing the compiler error as well.

    EDIT:

    It seems it was not in the compiler's search path.

    Thanks
    Last edited by thetinman; 11-06-2006 at 09:45 AM.

  4. #4
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VC++ 2005 Express Edition with PSDK
    By TylerMoyer in forum C++ Programming
    Replies: 2
    Last Post: 09-28-2007, 09:01 AM
  2. Linker errors with 2005 Express
    By thetinman in forum Windows Programming
    Replies: 4
    Last Post: 12-30-2006, 08:04 AM
  3. Visual C++ 2005 express edition
    By beene in forum C++ Programming
    Replies: 10
    Last Post: 07-10-2006, 01:12 PM
  4. VC++ 2005 Express: Weird Behaviour
    By psychopath in forum Tech Board
    Replies: 2
    Last Post: 06-21-2006, 07:47 PM
  5. Ghost in the CD Drive
    By Natase in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 10-12-2001, 05:38 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21