Jump to content

  • Log In with Google      Sign In   
  • Create Account


Exporting DirectX types to DLL


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 GuardianX   Crossbones+   -  Reputation: 1493

Like
0Likes
Like

Posted 29 June 2012 - 12:25 PM

Hello.

I have a really simple question, but so far can't find an answer to it. I'm using DX in unmanaged C++.
So, I have a class GameApp in namespace Game. I want to export GameApp class into dll so I can use it in my further applications (also I want to inherit it in my app which will use this dll). So far I exported public methods via __declspec(dllexport), but some things are seem can't be exported in dll this way. For example some STL types and DX pointers can't be exported.

Can someone point out direction to solve my problem? Thanks.

Sponsor:

#2 kubera   Members   -  Reputation: 903

Like
1Likes
Like

Posted 30 June 2012 - 01:41 AM

Exporting classes in DLL would be a problem sometimes.
Maybe the better way would be COM intefaces.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS