这个错误如何解决

mitterand 2009-02-20 07:56:49

错误提示如下:

error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall Croot_growth3DGUIDoc::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type

谢谢。
...全文
35 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
a_rockboy 2009-02-20
  • 打赏
  • 举报
回复
太笼统,估计是应该传入一个Croot_growth3DGUIView的函数,结果你传了一个Croot_growth3DGUIDoc的函数。看错误行号,贴错误代码。

19,464

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 图形处理/算法
社区管理员
  • 图形处理/算法社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧