Sign in to follow this  

Help request on compiler error : Microsoft.DirectX.PrivateImplementationDetails

This topic is 4749 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

This topic is 4749 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this