Skip to content

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

@duqingnian

Description

@duqingnian

添加了:
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
,请问这个是哪里做错了吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions