• Advertisement

• Popular Now

• 10
• 12
• 12
• 14
• 16
• Advertisement
• Advertisement
• Advertisement

Not useto VC++ 2005 beta

This topic is 4824 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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 this post

Share on other sites
Advertisement
Please provide the relevant source code so people can help you out.

Share this post

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 this post

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 this post

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 this post

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 this post

Share on other sites
You need to download the platform SDK.

Share this post

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 this post

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 this post

Share on other sites

• Advertisement