Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2006

Tip: Looking for answers? Try searching our database.

Cannot open include file: 'windows.h': ??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boki - 11 May 2006 07:10 GMT
Dear All,

I just installed the DirectX SDK, and I install the Tutorial00 project,
I compile it, but it shows:

------ Build started: Project: Tutorial00, Configuration: Debug Win32
------
Compiling...
Tutorial00.cpp
c:\documents and settings\m0246\my documents\visual studio
projects\tutorial00\tutorial00.cpp(8) : fatal error C1083: Cannot open
include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\m0246\My
Documents\Visual Studio Projects\Tutorial00\Debug\BuildLog.htm"
Tutorial00 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

Why there is no <windows.h> ?

Best regards,
Boki.
Bruno van Dooren - 11 May 2006 07:54 GMT
> I just installed the DirectX SDK, and I install the Tutorial00 project,
> I compile it, but it shows:
[quoted text clipped - 13 lines]
>
> Why there is no <windows.h> ?

Hello Boki,

Are you using VC2005 express?
if so, you also have to download and install the platform SDK. it is not
included by default. that is why the compiler cannot find that header file.

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

Boki - 11 May 2006 10:31 GMT
Bruno van Dooren

> > I just installed the DirectX SDK, and I install the Tutorial00 project,
> > I compile it, but it shows:
[quoted text clipped - 26 lines]
>     bruno_nos_pam_van_dooren@hotmail.com
>     Remove only "_nos_pam"

Hi,

I have installed platform SDK, but there is still error message:

------ Build started: Project: CreateDevice, Configuration: Debug Win32
------
Compiling...
Project : error PRJ0003 : Error spawning 'cl.exe'.
Build log was saved at "file://c:\Documents and Settings\m0246\My
Documents\Visual Studio Projects\CreateDevice\Debug\BuildLog.htm"
CreateDevice - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

Best regards,
Boki.
Bruno van Dooren - 11 May 2006 10:49 GMT
> I have installed platform SDK, but there is still error message:
>
[quoted text clipped - 7 lines]
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> ==========

Hi Boki,
did you follow these steps:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.