![]() |
| | #1 | |
| Registered User Join Date: Jan 2008
Posts: 64
| Errors including <windows.h> Code: #include <windows.h>
int main()
{
}
Quote:
| |
| jw232 is offline | |
| | #2 |
| and the hat of sweating Join Date: Aug 2007 Location: Toronto, ON
Posts: 3,120
| If that's the entire code for your program and you're building a console app, I'd say you must have something messed up in your VC++ configuration (either in the Project or in the main VC++ options). Check the instructions on how to install the Platform SDK with VC++ to make sure you didn't miss a step. |
| cpjust is offline | |
| | #3 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,099
| You need to enable language extensions (they should be on default, though, did you disable them?). It's under project options, c/c++, language.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #4 |
| Registered User Join Date: Jan 2008
Posts: 64
| Language extensions were disabled, but it worked after I installed the latest Windows SDK. |
| jw232 is offline | |
| | #5 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,099
| Well, if it works with language extensions disabled with the latest SDK, that's great. It shows that Microsoft is finally making it possible to create apps without language extensions enabled. It's time to celebrate!
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ten Errors | AverageSoftware | Contests Board | 0 | 07-20-2007 10:50 AM |
| Header File Errors... | Junior89 | C++ Programming | 5 | 07-08-2007 12:28 AM |
| Script errors - bool unrecognized and struct issues | ulillillia | Windows Programming | 10 | 12-18-2006 04:44 AM |
| executing errors | s0ul2squeeze | C++ Programming | 3 | 03-26-2002 01:43 PM |