Well, this is getting annoying. I have something along these lines:
Code:
class __declspec(dllexport) IMesh : public IObject, IThinker, IRenderable
{
   ...
protected:
   CSmartPtr<IVertexBuffer> myVB;
   ...
};
On every compile, I get a warning that says something like this:
Code:
'myVB': 'CSmartPtr<IVertexBuffer>' must have dll-interface to be used by clients of 'IMesh'
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?

Z.