Jump to content
  • Advertisement
Sign in to follow this  
Modeller

Help request on compiler error : Microsoft.DirectX.PrivateImplementationDetails

This topic is 5058 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been trying to implement a 3D program using Managed DirectX (October 2004 release) with Visual C++ .Net (2003). When I compile the part I wrote, I get the following compiler error : <ERRORMESSAGE> c:\Modeller3D\Form1.h(142) : 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 did you forget to include a header file? c:\Modeller3D\Form1.h(142) : error C3377: 'Microsoft::DirectX::Direct3D::Device::.ctor' : cannot import method - a parameter type or the return type is inaccessible c:\Modeller3D\Form1.h(142) : 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 did you forget to include a header file? c:\Modeller3D\Form1.h(142) : error C3377: 'Microsoft::DirectX::Direct3D::Device::get_UnmanagedComPointer' : cannot import method - a parameter type or the return type is inaccessible c:\Modeller3D\Form1.h(142) : 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 did you forget to include a header file? <ERRORMESSAGE> Device specified by the error message, is declared as follows : private static Device* device; // Scope resolution operator, i.e.Microsoft::DirectX::, does not change the outcome I tried to remedy the problem by including <d3d9.h>, but nothing changed. Any idea? I thank you very much for your time and attention.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!