Jump to content
  • Advertisement
Sign in to follow this  
jimiwa

VS .net 2005 compiling problem

This topic is 4863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
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?

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
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.

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!