Sign in to follow this  
jimiwa

VS .net 2005 compiling problem

Recommended Posts

I put a couple of source files from a visual c++ .net 2003 project into an empty windows project in visual c++ .net 2005 beta. I got a bunch of compiling errors related to the winNT.h file. What is happening here? What is the winNT.h file, what is its purpose, and how did it get into my project when I didn't add it?

Share this post


Link to post
Share on other sites
Microsoft's downloadable compilers don't include the windows SDK, so you'll have to download it seperately if you intend on using any OS-specific features (as opposed to mostly-ANSI C/C++)

Share this post


Link to post
Share on other sites
what's the difference between Visual Studio 2005 beta
and the "windows sdk" ? I looked on microsofts web
site but I don't know what sdk you're talking about.
Could someone please tell me where to find it or
at least what to look for?

Share this post


Link to post
Share on other sites
OK, I'm wondering what to do about the errors I get
from winNT.h
if someone could help that would be great
this program compiled before in vs 2003 (c++)
so I'm wondering what the difference is in 2005
that gives compiling errors.
these are the #using and #includes in my program:

#using <mscorlib.dll>
#include <windows.h>
#include <windowsx.h>
#include <string.h>
#include <sstream>
#include <ddraw.h>
#include <cmath>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this