Rich2189
May 30th, 2006, 04:19 PM
:) downloaded the latest DX SDK, the install went fantastic :), the samples wouln't work with VB.net so i decided to dump VB 2005 and hit C++ instead of battling with the .net framework because I think its pants.
Managed to get a normal window throught the win32 api after sorting out some casting errors hurah nothing special there. But when i tried to include the Direct X files it couldn't find them. Is there anything else besides the SDK i need?. Im using VC++ 6, windows aplication.
heres the include bit
#include <windows.h>
#include <d3d10.h> //LINE 9
#include <d3dx10.h>
#include "resource.h"
and the error
c:\documents and settings\richard bunt\my documents\visual studio projects\tutorial00\tutorial00.cpp(9) : fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory
Error executing cl.exe.
dx9.exe - 1 error(s), 0 warning(s)
Managed to get a normal window throught the win32 api after sorting out some casting errors hurah nothing special there. But when i tried to include the Direct X files it couldn't find them. Is there anything else besides the SDK i need?. Im using VC++ 6, windows aplication.
heres the include bit
#include <windows.h>
#include <d3d10.h> //LINE 9
#include <d3dx10.h>
#include "resource.h"
and the error
c:\documents and settings\richard bunt\my documents\visual studio projects\tutorial00\tutorial00.cpp(9) : fatal error C1083: Cannot open include file: 'd3d10.h': No such file or directory
Error executing cl.exe.
dx9.exe - 1 error(s), 0 warning(s)