I am building a project in which 1 other project is also included. My both projects are built with "Use MFC in a Static Library" and 'MT' options. My second project is a library which is compiled successfully but when i compile my main project i get following errors:
C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\afxwin.h(3343): error C2872: 'CString' : ambiguous symbol

Can anybody tell me the real cause of this error.