为什么我的一个以前可以编译的程序现在报这个错误呀?请高手指点!!!

MikoBear MikoBear 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
错误信息如下:
Compiling...
StdAfx.cpp
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(367) : error C2039: 'OnSetCursor' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(368) : error C2065: 'Default' : undeclared identifier
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(445) : error C2039: 'OnLButtonDown' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(457) : error C2039: 'OnMouseMove' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(459) : error C2039: 'OnMouseWheel' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(463) : error C2039: 'OnRButtonDblClk' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(465) : error C2039: 'OnRButtonDown' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(467) : error C2039: 'OnRButtonUp' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin2.inl(469) : error C2039: 'OnTimer' : is not a member of 'CWnd'
d:\Append_Program_Installs\Visual_Studio60\VC98\MFC\INCLUDE\afxwin.h(1899) : see declaration of 'CWnd'
Error executing cl.exe.

请那位好心的大侠高手知道一下,小弟万分感谢先!!!

麦克小熊
...全文

相关推荐

微信小程序-开发者工具更新后所有程序都报wxss编译错误

微信小程序-开发者工具更新后所有程序都报wxss编译错误

zeal5566

解决VS Code报检测到#include错误,请更新includepath的问题

使用VScode 开发php扩展时,提示”检测到#include错误,请更新includepath” 执行 gcc -v -E -x c++ - #include ... search starts here: #include search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1 /usr/local/include /Applications/Xcode.app/Con

weixin_38503233

VS2008 按F5调试运行报无法启动程序错误解决方案

VS2008 按F5调试运行IE报Microsoft Visual Studio无法启动程序“http://localhost:7887/Login.aspx”错误。直接右键“在浏览器中查看”正常,就是不能调试,一调试就抱错。本文为此错误提供了解决方法!

飞天心宏

Dev c++中遇到Id returned 1 exit status编译错误,该怎么办?

Dev c++中遇到Id returned 1 exit status编译错误该怎么办? 其他博主总结的解决方案,包括但不限于 函数名输入错误(如scanf打成scarf、int main()打成int mian()等) 函数体本身问题 上次运行的.exe窗口未关闭 而这次我遇到的问题,是在.h函数中遇到的,上面还写了undefined reference to `WinMain’ 经过摸索尝试,我将红圈右上角的64位Debug换为了32位Debug,问题解决,编译成功 图2(上)换成图3(下)即可 作者:qq_40927676

weixin_38620741

VMWare安装报1935错误

VMWare安装报1935错误 先打开注册表:按win键+R输入regedit

skywalker1927
评论 6
收藏 已收藏
分享
返回顶部
MikoBear
VC/MFC 16,551 成员 421,605 内容