1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57): error C2059: syntax error : '('
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57): error C2143: syntax error : missing ')' before '|'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57): error C2143: syntax error : missing ';' before '|'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(58): error C2059: syntax error : '('
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(58): error C2143: syntax error : missing ')' before '|'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(58): error C2143: syntax error : missing ';' before '|'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(58): error C2535: 'float DXGI_RGB::D3DCOLOR(void)' : member function already defined or declared
c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57) : see declaration of 'DXGI_RGB::D3DCOLOR'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(58): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(58): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(58): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(59): error C2059: syntax error : '('
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(59): error C2143: syntax error : missing ')' before '|'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(59): error C2143: syntax error : missing ';' before '|'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(59): error C2535: 'float DXGI_RGB::D3DCOLOR(void)' : member function already defined or declared
c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(57) : see declaration of 'DXGI_RGB::D3DCOLOR'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(59): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(59): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(59): error C2238: unexpected token(s) preceding ';'
#include <d3d.h> #include <d3d9x.h> // try changing it to: #include <d3d9x.h> #include <d3d.h>
#include <windows.h>
#include <d3d9.h>
#include <d3dx9.h>
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, INT nShow)
{
return 0;
}