Crossbones+ - Reputation: 1590
Posted 29 June 2012 - 12:25 PM
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.