好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

解决MFC数据库编程中关于msado15.tlh(407) ~的错误解

L4nk0r

利用MFC编写数据程序会遇到这样的错误提示

引用 msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

仅仅是一个警告,可以忽略但是每次总遇到所以找了下解决办法,这里分享给大家: 在文件:stdafx.h 中添加代码:

#pragma   warning   (disable:4146)  #import "c:Program FilesCommon FilesSystemadomsado15.dll" no_namespace rename("EOF","adoEOF") rename("BOF","adoBOF")

问题就解决了,我兴趣的朋友可以深究其原因。

查看更多关于解决MFC数据库编程中关于msado15.tlh(407) ~的错误解的详细内容...

  阅读:43次