Re: installing Visual Studio/C++ 2005

Tech-Archive recommends: Fix windows errors by optimizing your registry



On 4 Jan, 12:21, "L.Allan" <l.al...@xxxxxxxxxxxxxxxx> wrote:
"Nick Keighley" <nick_keighley_nos...@xxxxxxxxxxx> wrote in message
news:aa966fb4-6a5e-43f6-9678-d9a02c537c2a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

If I've picked the wrong news group then please redirect me.

I've installed Visual C++ Express and I'm having trouble compiling
windows (as opposed to console) programs.

The error is "fatal error C1083: Cannot open include file:
'windows.h':
No such file or directory"

now I could hunt down a previous version of windows.h (I had
Bloodshed installed), but this gives me a queasy feeling. Do express
versions
support win32 programming? May I have an improper installation?
Should I remove and reinstall?

Disclaimer: I have limited experience with Express-2005/8


You might want to consider obtaining and installing Express-2008. It comes
with a built-in wizard and support for Win32 apps.

ok I've done that and it compiles a win32 hello world.

Thanks! And to Giovanni Dicanio


With Express-2005, you should obtain the latest "Platform SDK" (currently
Win-Server-2003-R2, I believe). Install, and then use Tools+Options
+Directories  to reference the SDK "include" and "lib". There is also a way
for the Express-2005 to have a Win32 wizard to generate a new project, but I
don't recall the specifics. Without the wizard, you should still be able to
open and work with a project from VC6 and/or VC71 ... but the .vcproj
file/xml format is different and it is a "one way" conversion ... be
cautious if you want to continue using vc71.

Also, Express-2008 (and 2005?) don't have a resource editor to work with .rc
files.

that might be a stopper. Can I use a standalone resource editor?
I've been using ResEd which does the basic stuff ok.


--
Nick Keighley
.



Relevant Pages

  • PB connectivity options issues
    ... Started with a clean Windows 2000 installation. ... Win32 Version: 5.01.14337 ... CodeBase: ... To enable just in time debugging, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Microsoft .NET Framework Message
    ... The TrayApp message stopped appearing but Microsoft Installation for the ... Win32 Version: 1.1.4322.2032 ... To enable just in time debugging, ...
    (microsoft.public.windowsxp.general)
  • Re: Refactoring not working in Delphi 2005? See QC9586
    ... And how do I get the much faster startup of a Win32 only ... >installation back? ... I havent had time to waste enough yet to sit down and build a failing ...
    (borland.public.delphi.non-technical)
  • Re: Include and Lib Files
    ... problems with the installation, but it doesn't see the include files in the ... Platform SDK which I also installed to do Win32 stuff. ... and Lib paths in both the System and my account Environment variables, ...
    (microsoft.public.vc.ide_general)
  • Re: Simple problem program - opens a dos window first.
    ... Unless your VS 2005 installation is corrupt, it should happen automatically, ... given that the correct project template (i.e. Win32 or MFC as appropriate) ...
    (microsoft.public.dotnet.general)