c++6.0运行成功的程序怎么到vs.net2005失败,出现这些错误
1>------ 已启动生成: 项目: 高斯坐标正反算, 配置: Debug Win32 ------
1>正在编译...
1>StdAfx.cpp
1> WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
1>正在编译...
1>高斯坐标正反算Dlg.cpp
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(93) : error C2440: 'static_cast' : cannot convert from 'bool (__thiscall CMyDlg::* )(void)' to 'AFX_PMSG'
1> None of the functions with this name in scope match the target type
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(94) : error C2440: 'static_cast' : cannot convert from 'bool (__thiscall CMyDlg::* )(void)' to 'AFX_PMSG'
1> None of the functions with this name in scope match the target type
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(318) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(328) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(330) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(370) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(379) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(380) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(395) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>e:\c语言\高斯坐标正反算\高斯坐标正反算dlg.cpp(399) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>Generating Code...
1>Skipping... (no relevant changes detected)
1>高斯坐标正反算.cpp
1>生成日志保存在“file://e:\C语言\高斯坐标正反算\Debug\BuildLog.htm”
1>高斯坐标正反算 - 2 个错误,8 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
------解决方案--------------------------------------------------------
当然不能直接拿过来用了。
你把代码帖出来,才好帮你看。