windows.h

This is a discussion on windows.h within the Windows Programming forums, part of the Platform Specific Boards category; Hi all I have just started using MSVC++ 2005 ExpEd, i have made the simplist windows program ever, but when ...

  1. #1
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321

    windows.h

    Hi all
    I have just started using MSVC++ 2005 ExpEd, i have made the simplist windows program ever, but when i build my solution, i get an error saying:

    Code:
    Cannot open include file: 'windows.h': No such file or directory
    It works fine on my Dev c++

    Can anyone help me?

    Thanks in advance

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,849
    You also need to download the Platform SDK as well.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    so if i downlaod the platform SDK, it should correct the error?

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

  5. #5
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    i followed your link and i have got up to the part where i need to update the corewin_express.vsprops file.
    but i don't know what to open the file with, any ideas before i go lunging into it and make a mistake?

  6. #6
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    A text editor. As with anything of this nature, make sure you back up the original file(s) before making any changes.

    edit: It actually states
    Quote Originally Posted by Using Visual C++ 2005 Express Edition with the Microsoft Platform SDK, step5
    In a text editor ...
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  7. #7
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    ohhhhhhhh... ok

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems reading windows.h
    By yaya in forum Windows Programming
    Replies: 7
    Last Post: 05-22-2009, 03:33 PM
  2. windows.h no such file or directory
    By FingerPrint in forum Tech Board
    Replies: 11
    Last Post: 08-26-2006, 10:51 PM
  3. Windows.h help
    By Mustang5670 in forum C Programming
    Replies: 3
    Last Post: 01-02-2004, 11:59 AM
  4. UNICODE and windows.h help
    By nextus in forum Windows Programming
    Replies: 3
    Last Post: 03-02-2003, 03:13 PM
  5. windows.h without the mouse support
    By ()Q() in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2002, 08:57 PM

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