sL@Y3R_WiLLRocK 0 Newbie Poster

I've created a program on Visual C++ using microsoft's direct-x 9 SDK(coz thats what our college told us to use) which creates and display triangle on the screen.
I've included the INCLUDE folder in the settings and linked d3d9.lib, d3dx9.lib and winmm.lib library files in the application dependencies settings.
Whenever I debug my program, it generates 5 errors....

c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(236) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(236) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C2146: syntax error : missing ';' before identifier 'Buffer'
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

Same errors are generated when I try to debug my DarkGDK program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.