Skip to main content
gamedev.net
🔒 Locked

VS .net 2005 compiling problem

Started by jimiwa Feb 16, 2005 at 6:13 PM 4 replies 1.1k views
Original Post
jimiwa
jimiwa
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?
Extrarius
Extrarius
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++)
"Walk not the trodden path, for it has borne it's burden." -John, Flying Monk
jimiwa
jimiwa
I ordered the beta on CD.. do I still need to
download the windows sdk?
Still, that doesn't answer my question - what
is the winNT.h file and why is it in my project?
jimiwa
jimiwa
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?
KorbenDallas
KorbenDallas
The WinNT.h file you're talking about is a header file, used for function definitions, type definitions and whatnot. It's not in your project, but it's probably (indirectly) referenced by a header you're #include-ing.
jimiwa
jimiwa
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
#include
#include
#include
#include
#include
#include

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.