Bry4bry2000
July 10th, 2007, 11:06 PM
I'm new to using DirectX and am having trouble figuring out how to let Visual Studio 2005 recognize it is infact there and installed. I have already installed and made sure that the lib and header files are linked, but it still won't compile any of the sample source code that I was given and gives these errors:
include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier 'Buffer'
include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
The only thing I can think of is that I'm setting up the project incorrectly so to create a project I do the following:
File -> New Project
Win32 Project
And I have tried both just having the Windows application box checked and then tried checking the empty project box checked...neither helped and I get the same errors.
Any help would be much appreciated!
include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier 'Buffer'
include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
The only thing I can think of is that I'm setting up the project incorrectly so to create a project I do the following:
File -> New Project
Win32 Project
And I have tried both just having the Windows application box checked and then tried checking the empty project box checked...neither helped and I get the same errors.
Any help would be much appreciated!