Sign in to follow this  
ballmar

Exporting DirectX types to DLL

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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