I have a class defined in one DLL, with a certain member that is overloaded. A second DLL imports that class, inherits from it and exports the inherited class. The inherited class overrides one of the overloads of the above member, and so looses all the other overloads.
The solution for this problem generally, AFAIK, is to use a using
statement (using BaseClass::OverloadedMember;
), but given the situation, I get an error C2487: 'BaseClass::OverloadedMember' : member of dll interface class may not be declared with dll interface
(VC++).
How do I work around this?