VC6 DLL export of a class - warning C4251
Posted on 2005-04-06
I am creating a DLL. In this DLL, i have a class named 'Model' that gets exported, and another class 'Transform' used in the class 'Model'. I do not want to export this class 'Transform' as it will not be used outside the DLL, but i got warnings like this:
warning C4251: 'tran' : class 'Transform' needs to have dll-interface to be used by clients of class Model'
Any one please tell me can i just ignore those warnings, or i have to export the class 'Transform'?