Re: Does Managed DirectX work at all with vc++?

From: Tom Miller [MS] (tmiller_at_online.microsoft.com)
Date: 10/05/04


Date: Tue, 5 Oct 2004 15:58:26 -0700

http://blogs.msdn.com/tmiller/archive/2004/10/05/238317.aspx

-- 
- Tom Miller, Managed DirectX
This posting is provided "AS IS" with no warranties, and confers no rights.
"ShadowP13" <ShadowP13@discussions.microsoft.com> wrote in message 
news:019DF14A-9A11-42B5-8565-DC2CD3B4AB26@microsoft.com...
> This might sound like a silly question, but almost everyone I've tracked 
> down
> that is using VC++.Net 2003 and the latest DirectX SDK is having the same
> problems that they can't solve.  I know I'm definatly having them.
>
> Here are the errors I'm getting for somthing as simple as trying to creat 
> a
> device:
>
> 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
> error C3377: 'Microsoft::DirectX::Direct3D::Device::.ctor' : cannot import
> method - a parameter type or the return type is inaccessible
> 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
> error C3377: 
> 'Microsoft::DirectX::Direct3D::Device::get_UnmanagedComPointer'
> : cannot import method - a parameter type or the return type is 
> inaccessible
> 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
> error C3377: 
> 'Microsoft::DirectX::Direct3D::Device::UpdateUnmanagedPointer'
> : cannot import method - a parameter type or the return type is 
> inaccessible
>
> I've been working on this for weeks.  Seems like everybody is using iether
> C# or C++ /w unmanaged DirectX.  However, inorder to make the games I want 
> I
> need acess to the robust Sprite functions that for some reason is only in
> Managed DirectX and I refuse to leave C++ behind if I can avoid it.  Any 
> help
> would be amazing!!!