我使用的一个第三方类库是继承自MFC的,其中一个类如下:class CLASS_EXPORT CCJDockBar : public CDockBar
{
....
};链接时会产生LNK2001错误,如下:error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct AFX_MSGMAP const CDockBar::messageMap"哪位大侠知道原因?非常感谢!还有一个有一些相似的问题在http://topic.csdn.net/u/20090707/16/3c17d7d1-2869-4aea-924f-161a8420ef42.html?seed=745976325
{
....
};链接时会产生LNK2001错误,如下:error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct AFX_MSGMAP const CDockBar::messageMap"哪位大侠知道原因?非常感谢!还有一个有一些相似的问题在http://topic.csdn.net/u/20090707/16/3c17d7d1-2869-4aea-924f-161a8420ef42.html?seed=745976325
http://www.codeguru.com/forum/showthread.php?t=55543