duilib_tutorial icon indicating copy to clipboard operation
duilib_tutorial copied to clipboard

学习到“07_控件消息响应处理”的时候,提示:“无法解析的外部符号DuiLib::WindowImplBase::messageMap”

Open duqingnian opened this issue 5 years ago • 3 comments

添加了: DUI_BEGIN_MESSAGE_MAP(MainWndFrame, CNotifyPump) DUI_ON_MSGTYPE(DUI_MSGTYPE_CLICK, OnClick) DUI_END_MESSAGE_MAP()之后,提示如下: 错误 1 error LNK2001: 无法解析的外部符号 "protected: static struct DuiLib::DUI_MSGMAP const DuiLib::WindowImplBase::messageMap" (?messageMap@WindowImplBase@DuiLib@@1UDUI_MSGMAP@2@B) C:\Users\Documents\Visual Studio 2013\Projects\Helloworld\Helloworld\MainWndFrame.obj Helloworld ,请问这个是哪里做错了吗?

duqingnian avatar Oct 24 '19 06:10 duqingnian

@duqingnian 你可以把自己的代码与教程中的代码做一下对照,我已经开始计划做新的一套基于 NIM Duilib 的教程,这份教程可能不再更新了。

nmgwddj avatar Dec 13 '19 09:12 nmgwddj