I only added the references of Mocrosoft.Directx and direct3d but when I try to compile i get errors:
c:\Projects\Orbital Calc\Physics.h(40): error C3635: 'Microsoft.DirectX.PrivateImplementationDetails::IDirect3DDevice9': undefined native type used in 'Microsoft::DirectX::Direct3D::Device'; imported native types must be defined in the importing source code
and so on...
do I need to include any libraries or includes I thought I could just use the references
thanks,
Devin

Please help, trying to get directx up and running in a managed project of c++
MartinParé
namespace
Microsoft{
namespace DirectX
{
namespace PrivateImplementationDetails
{
#include <d3d9.h>
}
}
}
using namespace Microsoft::DirectX;
using namespace Microsoft::DirectX::Direct3D;
Anybody know why this is a standard blank project.
Primo109
Chippen
ChicagoDave
Andy K Smith
Question: in Tom's blog it says to do the following to use the include...
namespace Microsoft
{
namespace DirectX
{
namespace PrivateImplementationDetails
{
#include <d3d9.h>
}
}
}
But when I do this it redefines the namespaces that I use to perform my dx tasks. So after the above statement I can't access anything in the original Microsoft.DirectX namespace.
What should I do to access that stuff
Thanks,
Devin
Metall
Tom Miller wrote something about that problem.
http://blogs.msdn.com/tmiller/archive/2004/10/05/238317.aspx
Hope it helps.