This documentation is archived and is not being maintained.

Compiler Warning (level 1) C4251

'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2'

A base class or structure must be declared with the __declspec(dllexport) keyword for a function in a derived class to be exported.

Show: