Jump to content
  • Advertisement
Sign in to follow this  
ShadowP13

What friggen undefined native types?

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

It doesn't matter what I'm trying to compile (my own code, sample code online, whatever) if it involves DirectX I get the same errors. Have I forgot a header or somthing? I've not been able to find much documentation on using Managed DirectX with C++. What does it mean?!?! Here's one or two of them: 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

Share this post


Link to post
Share on other sites
Advertisement
Ok... this ia apparently a problem that anyone using the 2004 summer directX sdk and Visual Studio 2003 C++ .net would have. I just uninstalled the sdk and went back to a previous version and I'm having no problems.

Share this post


Link to post
Share on other sites
Well, it's not just me, but it's possible the other people I talked to were just as stupid as I am :P When doing somthing as simple as creating the device, how many assemblies could possibly be required? I already just added everything even remotely DirectX relavent to my project. And to top that off, I'm confused about why the same code just suddenly started working when I went to an older version of the DirectX 9 sdk. Have function calls for most common things been drastically changed in 2004 sdk? (if so, the sdk documentations don't reflect that). I'm not trying to say that unmanged directX didn't work, that worked fine, but I was trying to use managed directX.

Share this post


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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!