c++错误 error C2440: ✀type cast✀ : cannot convert from ✀void (__cdecl *)(void)✀ to ✀void

2025-03-04 11:17:55
推荐回答(1个)
回答1:

消息映射都要写在注释宏当中的 要不不会在ClassWizzard中注册 把报错的那句写入
//{{AFX_MSG_MAP(CCExample1Dlg)
.......
.......
......
//}}AFX_MSG_MAP
中试试