当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·贴给连接access的代码谢谢    »显示摘要«
    摘要: 贴给连接access的代码谢谢 ......
    摘要: vc++6是可以的 ......


怎么会产生这样的错误

我的程序引用了别人写的一个类  
  编译自后,出现这个错误,怎么解决?  
  Compiling...  
  testado2Dlg.cpp  
  c:\vcexample\testado2\debug\msado15.tlh(407)   :   warning   C4146:   unary   minus   operator   applied   to   unsigned   type,   result   still   unsigned  
  C:\vcexample\testado2\testado2Dlg.cpp(193)   :   fatal   error   C1004:   unexpected   end   of   file   found  
  Error   executing   cl.exe.  
  Creating   browse   info   file...  
  BSCMAKE:   error   BK1506   :   cannot   open   file   .\Debug\testado2Dlg.sbr:   No   such   file   or   directory  
  Error   executing   bscmake.exe.  
  望大虾帮忙

NO.1   作者: free_card

是不是少了大括号,rebuild   all试一下

NO.2   作者: lizmei001

#include   "stdafx.h"

NO.3   作者: dizzo

没包含头文件。

NO.4   作者: happy__888

就是漏了   “stdafx.h”文件。  
  或者在编译器当中关闭   预编译头文件   也可以解决问题。


 ·如何新增一条记录    »显示摘要«
    摘要: 在dw中,我不知道该怎么才能新加一条记录. 新增按钮的代码; int i i = dw_1.insertrow(0) dw_1.scrolltorow(1) if i=1 then commit using sqlca; messagebox(提示信息,数据提交成功!) dw_1.setfocus() dw_1.setcolumn(1) else messagebox(提示信息,......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE