vc++6.0移植到vc++2005的有关问题,请问有相关经验的高手!
发布时间:2011-06-23 14:19:18 文章来源:www.iduyao.cn 采编人员:星星草
vc++6.0移植到vc++2005的问题,请教有相关经验的高手!!急急!!
1.vc++6.0 MFC写的程序,用vc2005直接打开后,出现以下错误,请问谁知道是为什么?网上查了些都说是设置的问题,但自己找了办天也没找到应该怎么设置,请高手指教?
2.另外vc2005中 'iostream.h '不能用吗?为什么?
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
d:\机密数据\vc2005认证移植\caims2007-07-06-15\GetHardDisk.h(13) : fatal error C1083: Cannot open include file: 'iostream.h ': No such file or directory
DlgUser.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgTimeSelect.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgTime.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgShow.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgLike.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
DlgAtt.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
d:\机密数据\vc2005认证移植\caims2007-07-06-15\IniFile.h(16) : fatal error C1083: Cannot open include file: 'iostream.h ': No such file or directory
DIBDC.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\release\DlgAtt.sbr ': No such file or directory
Build log was saved at "file://d:\机密数据\vc2005认证移植\CAIMS2007-07-06-15\Release\BuildLog.htm "
FDNDBMS - 7 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
------解决方案--------------------
ding
------解决方案--------------------
将#include "iostream.h "修改为以下两句
#include "iostream "
using namespace std;
------解决方案--------------------
vs2005中没有iostream.h这个文件
#include <iostream>
using namespace std;
另外在stdafx.h中
#define WINVER 0x0502
------解决方案--------------------
上面两人说的很对
------解决方案--------------------
vs2005中没有iostream.h这个文件
#include <iostream>
using namespace std;
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
关于visual studio 2005的工程文件*.vcproj的问题
请问:Visual Studio 2005 新建一个工程之后,会自动生产一个*.vcproj的一个文件,这...
-
用MFC画图的问题
我现在要用随机数产生300个固定的点保存在数组中,并在ondraw里画出这300个点,而且通过定时器使这300个点做运动。...
-
VS2010中的C++怎么连接数据库?
之前一直用VC++6.0的、现在想学学用最新的VS、但是感觉连接数据库和之前不一样了、具体应该怎么弄...
-
CLI编程 高手帮忙
我现在用C++/CLI 混编,
我有一个方法, 是调用一个C 的类库 得到一个 char * 的值
现在我...
-
新手求教::VC.NET2003里面的"添加变量"菜单变灰了,怎么弄?
最近学着用.net写程序,以前用的是6.0,不知道为什么我设计的EDIT Con...
-
刚学习vc.net 请教一个String做参数的问题,请高手指教一下
下面的代码为什么不能编译呢,出现这个错误呢
.\clr.cpp(12) : error C3...
-
VS2003中通过ADO取SQL2003中bigint 负值变正值的问题,求助!
在SQL2003中 数据库中假设 一个bigint类型的数据位-1234这样的值,通过如...
-
新手学习VC用那个版本的编译器好!
新手学习VC用那个版本的编译器好!?
------解决方案--------------------
VC++6.0
------解决...
-
正则表达式
有这样的字符串
"1,',2"",3"
希望将单个的"替换成单引号,将连续两个的""替换成一个双引号。
正则表达式该如何写。
...
-
为什么<<精通MFC>>附带的源程序不能编译成功
vc2010编译后有两个错误提示,分别如下,
错误一:
1>c:\program files\microsoft vi...