我在VC下的程序调用了CJ60Lib.lib库文件,用MFC Shared dll编译正常,用Static Library编译就总出问题。 按照要求,我在setting-projectsetting-link下的对象/库模块中将CJ60Lib.lib加入。并在stdafx.h中加入了  #define MFCXLIB_STATIC #define MFCX_PROJ
 #include <CJ60Lib.h>。 但编译后仍然出现问题如下: Linking...
MainFrm.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const  CCJFrameWnd::messageMap" (?messageMap@CCJFrameWnd@@1UAFX_MSGMAP@@B)
MainFrm.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const  CCJFrameWnd::classCCJFrameWnd" (?classCCJFrameWnd@CCJFrameWnd@@2UCRuntimeClass@@B)
MainFrm.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const  CCJFlatComboBox::messageMap" (?messageMap@CCJFlatComboBox@@1UAFX_MSGMAP@@B)
MainFrm.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const  CCJFlatComboBox::classCCJFlatComboBox" (?classCCJFlatComboBox@CCJFlatComboBox@@2UCRuntimeClass@@B)
Debug/csds.exe : fatal error LNK1120: 4 unresolved externals 实在令人费解,不知问题到底在哪? 哪位高手帮忙看看,如何解决? 谢谢