Well, this is getting annoying. I have something along these lines:
On every compile, I get a warning that says something like this:Code:class __declspec(dllexport) IMesh : public IObject, IThinker, IRenderable { ... protected: CSmartPtr<IVertexBuffer> myVB; ... };
MSDN says that the base class has to be defined with __declspec(dllexport). So, i spent a while adding __declspec(dllexport) to every class that has anything to do with anything. I get the same thing. Am I missing something, or doing something totally wrong?Code:'myVB': 'CSmartPtr<IVertexBuffer>' must have dll-interface to be used by clients of 'IMesh'
Z.




Reply With Quote