I'm working in Windows NT, and I've created a class, myClass, that contains a TopoDS_Solid datamember. If I try to export 'myClass' to another DLL, I get this warning:
warning C4251: 'm_solid' : class 'TopoDS_Solid' needs to have dll-interface to be used by clients of class 'myClass'
#define DLLIMPEXP __declspec(dllexport)
#define DLLIMPEXP __declspec(dllimport)
class DLLIMPEXP myClass
How can I export this class into another DLL without receiving the warning?