'class1' : base class 'class2' must be exported
A derived class class1 was exported, but its base class class2 was not.
If class1 is exported, class2 must also be exported.