using non dll-interface class as base for dll-interface class 
Author Message
 using non dll-interface class as base for dll-interface class

hi,
   i was trying to build a dll which has class CIF
derived from CObject. while building this using Microsft
Platfor bulder its gives a warning
"warning C4275: non dll-interface class 'CObject' used as
base for dll-interface class 'CIF' "
and it also has a CString member variable. following
wroning comes for that:
"warning C4251: 'm_InterfaceName' : class 'CString' needs
to have dll-interface to be used by clients of
class 'CIF'".
 can you suggest me any soln. for this.
 if i ignore this worning message what problem will i
face?
thanks & regards
arindrajit


Sun, 13 Nov 2005 20:29:58 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. warning C4275: non dll-interface class 'X' used as base for dll-interface

2. Warning C4251: Using non-dll-interface classes in dll-interface classes.

3. Warning: non dll-interface class ...

4. class class-name: base-class : interface

5. warning C4251: needs to have dll-interface to be used by clients of class

6. C4251: class needs dll-interface

7. class x needs to have dll interface warning

8. DLL interface for STL classes

9. interfaces and base class problem compile error.

10. abstract base class and interface

11. VS.NET IDE Interface and Base class methods

12. New warning (non-dll interface) with vc++7

 

 
Powered by phpBB® Forum Software