ComPtr's in DirectX9 for .NET 2.0

vo_one

Newcomer
Joined
Jun 20, 2006
Messages
3
Location
Russia, Taganrog
Hi everyone! I have a problem with getting unmanaged pointers to Direct3D Device using DirectX9 for .NET 2.0. When I used DX for .NET 1.1, there was Device.GetObjectByValue(...) method, but it's removed from new version! Please, help me anybody, it's really necessary for me to get an IntPtr to Device!
 
The Managed DirectX 2.0 stuff is deprecated, it is not going to be released. The work done on it will become part of the XNA framework. Use the older version for now.
 
You really think so? But I use .NET 2.0 dll's pretty succesfully... Are you sure that there is no way to get a COM-pointer to D3D Device in DirectX9 for .NET 2.0?
 
see the readme (or just read it here )

There's no harm using it, and it wil be more like the XNA than the older directX. But very few people are using it, and the documentation is poor, and microsoft don't recommend using it in the msdn forums - they say just wait for the XNA beta.

I don't know the answer to the pointer question.
 
Back
Top