首页上一页 1 下一页尾页 3 条记录 1/1页
Visual C++数据库系统开发完全手册程序运行问题
发表在C语言图书答疑
2011-11-16
是否精华
是
否
版块置顶:
是
否
在Debug版本下
第一个问题,编译连接结果:
--------------------Configuration: aaa - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
f:\工作\开发\崇裹龈惑鲳痄购觊光屐\复件 visual c++ 挲君库锏沓开发黻璜牿册\馋库裹囗锏沓\舸踌痱\stdafx.cpp(0) : fatal error C1033: cannot open program database 'f:\工作\开发\崇裹龈
惑鲳痄购觊光屐\复件 visual c++ 挲君库锏沓开发黻璜牿册\馋库裹囗锏沓\舸踌痱
\debug\vc60.pdb'
Error executing cl.exe.
aaa.exe - 1 error(s), 0 warning(s)
网上搜索了一下,貌似路径中含有中文,所以改成了全英文这个问题没有了.
第二个问题,编译连接结果:
--------------------Configuration: MerchandiseStore - Win32 Debug--------------------
Compiling...
BCMenu.cpp
f:\2\bcmenu.h(29) : fatal error C1083: Cannot open include file: 'afxtempl.h': No such file or directory
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\BCMenu.sbr': No such file or directory
Error executing bscmake.exe.
MerchandiseStore.exe - 2 error(s), 0 warning(s)
在Tools-Options-Directories选项卡下添加了
include files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
library files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
貌似也纠正了这个错误。
第三个问题,编译连接结果如下:
Deleting intermediate files and output files for project 'MerchandiseStore - Win32 Debug'.
--------------------Configuration: MerchandiseStore - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
f:\2\debug\msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Compiling...
BCMenu.cpp
BtnST.cpp
Database.cpp
DlgCancelin.cpp
DlgDepartment.cpp
DlgEmployee.cpp
DlgIntostorage.cpp
DlgKcgl.cpp
DlgOperator.cpp
DlgPrint.cpp
F:\2\DlgPrint.cpp(241) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\DlgPrint.cpp(241) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\DlgPrint.cpp(241) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
.....................................
F:\2\DlgPrint.cpp(508) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
DlgRoleinfo.cpp
DlgSpxxgl.cpp
DlgStockApply.cpp
DlgSysFunctionInfo.cpp
MerchandiseStore.cpp
MerchandiseStoreDlg.cpp
PreGoto.cpp
PreParent.cpp
PreView.cpp
F:\2\PreView.cpp(122) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\PreView.cpp(122) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\PreView.cpp(130) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\PreView.cpp(130) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
Generating Code...
Linking...
Creating browse info file...
MerchandiseStore.exe - 0 error(s), 75 warning(s)
没有对话框弹出,点击执行按钮也没有弹出,请问改怎么改?怎么有这么多问题?
第一个问题,编译连接结果:
--------------------Configuration: aaa - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
f:\工作\开发\崇裹龈惑鲳痄购觊光屐\复件 visual c++ 挲君库锏沓开发黻璜牿册\馋库裹囗锏沓\舸踌痱\stdafx.cpp(0) : fatal error C1033: cannot open program database 'f:\工作\开发\崇裹龈
惑鲳痄购觊光屐\复件 visual c++ 挲君库锏沓开发黻璜牿册\馋库裹囗锏沓\舸踌痱
\debug\vc60.pdb'
Error executing cl.exe.
aaa.exe - 1 error(s), 0 warning(s)
网上搜索了一下,貌似路径中含有中文,所以改成了全英文这个问题没有了.
第二个问题,编译连接结果:
--------------------Configuration: MerchandiseStore - Win32 Debug--------------------
Compiling...
BCMenu.cpp
f:\2\bcmenu.h(29) : fatal error C1083: Cannot open include file: 'afxtempl.h': No such file or directory
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\BCMenu.sbr': No such file or directory
Error executing bscmake.exe.
MerchandiseStore.exe - 2 error(s), 0 warning(s)
在Tools-Options-Directories选项卡下添加了
include files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
library files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
貌似也纠正了这个错误。
第三个问题,编译连接结果如下:
Deleting intermediate files and output files for project 'MerchandiseStore - Win32 Debug'.
--------------------Configuration: MerchandiseStore - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
f:\2\debug\msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Compiling...
BCMenu.cpp
BtnST.cpp
Database.cpp
DlgCancelin.cpp
DlgDepartment.cpp
DlgEmployee.cpp
DlgIntostorage.cpp
DlgKcgl.cpp
DlgOperator.cpp
DlgPrint.cpp
F:\2\DlgPrint.cpp(241) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\DlgPrint.cpp(241) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\DlgPrint.cpp(241) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
.....................................
F:\2\DlgPrint.cpp(508) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
DlgRoleinfo.cpp
DlgSpxxgl.cpp
DlgStockApply.cpp
DlgSysFunctionInfo.cpp
MerchandiseStore.cpp
MerchandiseStoreDlg.cpp
PreGoto.cpp
PreParent.cpp
PreView.cpp
F:\2\PreView.cpp(122) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\PreView.cpp(122) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\PreView.cpp(130) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
F:\2\PreView.cpp(130) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
Generating Code...
Linking...
Creating browse info file...
MerchandiseStore.exe - 0 error(s), 75 warning(s)
没有对话框弹出,点击执行按钮也没有弹出,请问改怎么改?怎么有这么多问题?