首页上一页 1 下一页尾页 1 条记录 1/1页
Visual C++开发实战宝典 人事管理系统..ADO连数据库问题..
发表在C语言图书答疑
2010-12-19
是否精华
是
否
版块置顶:
是
否
bool bCon=GetConnection()->Open(GetConnection()->GetSQLConStr("127.0.0.1","tb_person"));
这句会跳出下面一个warning..
warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
改成int bCon=GetConnection()->Open(GetConnection()->GetSQLConStr("127.0.0.1","tb_person"));
warning消失
CTRL+F5之后跳出runtime error
The application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
这是什么情况? VISTA系统.SQL SERVER 2005
这句会跳出下面一个warning..
warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
改成int bCon=GetConnection()->Open(GetConnection()->GetSQLConStr("127.0.0.1","tb_person"));
warning消失
CTRL+F5之后跳出runtime error
The application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
这是什么情况? VISTA系统.SQL SERVER 2005