# Not useto VC++ 2005 beta

## Recommended Posts

Ok I just had the program covert a project from a book of mine. Well when I compile I get. f:\Slideshow\Bitmap.h(11) : fatal error C1083: Cannot open include file: 'windows': No such file or directory GameEngine.cpp Kinda weird to me how it can't find windows.h. If this is a normal accurace how can I get it to work?

##### Share on other sites
Well I didn't think it was neccsarry. Its just a include for windows.h. Like this.
//-----------------------------------------------------------------// Game Engine Object// C++ Header - GameEngine.h//-----------------------------------------------------------------#pragma once//-----------------------------------------------------------------// Include Files//-----------------------------------------------------------------#include <windows.h>//-----------------------------------------------------------------// Windows Function Declarations//-----------------------------------------------------------------int WINAPI        WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,                    PSTR szCmdLine, int iCmdShow);LRESULT CALLBACK  WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

##### Share on other sites
If the error says "Cannot open include file: 'windows'" then maybe you should make it include 'windows.h' instead.

edit: The error says it's on line 11 of 'Bitmap.h', so that's where you should look.

##### Share on other sites
Well I get the error for all the includes for windows.h. Just copyed and pasted the one I was looking at.*shrug* EDIT: Ohh that was from when I tried making <windows.h> just <windows> Don't work eigther way.

##### Share on other sites
IIRC, the beta doesn't include the platform SDK (just the .NET), so you'd have to download and install it (or if you've got another version of vc.net, just add the appropriate include path).

##### Share on other sites
Yay im smart. >< Already uninstalled my old copy of VC++ 6.0 Well ill off to get the SDK then.

##### Share on other sites
Acttualy which SDK should I download for a WIN XP sp2 comp? THey have a couple things I could download and its a bit confusing.

##### Share on other sites
Gehh! I don't know about anyone else but im having a heck of a time getting anything off the site. It won't let me install the active x control onto IE. Keeps blocking it. >_< Gawd I hate IE and how microsoft makes you use it for there site.

##### Share on other sites
Quote:
 Original post by DkoGehh! I don't know about anyone else but im having a heck of a time getting anything off the site. It won't let me install the active x control onto IE. Keeps blocking it. >_< Gawd I hate IE and how microsoft makes you use it for there site.
Make sure you're running as an Admin when trying to install the ActiveX control.

## Create an account

Register a new account

• ### Forum Statistics

• Total Topics
627738
• Total Posts
2978881

• 10
• 10
• 21
• 14
• 13