Exporting DirectX types to DLL

Started by
0 comments, last by kubera 11 years, 10 months ago
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.
Advertisement
Exporting classes in DLL would be a problem sometimes.
Maybe the better way would be COM intefaces.

This topic is closed to new replies.

Advertisement