Re: installing Visual Studio/C++ 2005

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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: Possible MSVCRT.dll problem
    ... error stopping the installation. ... Using hardware firewall via wireless router. ... Retrospect Express HD for Windows. ... MSVCRT.dll for Win32 ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Possible MSVCRT.dll problem
    ... Once I cleaned the system, I uninstalled Retrospect and tried to re-install, and that's where I am now with the error stopping the installation. ... Using hardware firewall via wireless router. ... Using Windows 2000 Prof. ... > MSVCRT.dll for Win32 ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: installing Visual Studio/C++ 2005
    ... with a built-in wizard and support for Win32 apps. ... I'm guessing I'm compiling it as a console application but I can't ... selected Win32 project. ...
    (microsoft.public.vc.mfc)