c++ - 导入 msado15.dll 时出错

标签 c++ database dll compiler-errors ado

我正在尝试将 msado15.dll 导入到我的 C++ 项目中,但我遇到了一堆这样的错误:

 error C2018: unknown character '0x40' 
 error C2146: syntax error : missing ';' before identifier 'ÿÿ¸'
 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

这是我的包含指令:

#include "C:\program files\common files\system\ado\msado15.dll" 

最佳答案

使用import 而不是include

关于c++ - 导入 msado15.dll 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4357769/

相关文章:

c++ - 在编译时检查张量是否为矩形(即多维数组的所有范围都相等)

c++ - 将 OpenCV 窗口嵌入到 Qt GUI 中

mysql - 表更新为相同值

c++ - Visual Studio 缺少 msvcr120d.dll 和 msvcp120d.dll 错误

c++ - 如何检查类型是否已定义?

c++ - 这个指针操作函数的解释

hibernate - 如何在 Hibernate 中连接到多个数据库

PHP 表单更新 mysql 数据库未完成更新

c++ - 在 Visual Studio 2012 中,如何将资源文件 (.rc) 与 c++ dll 链接起来

c - 覆盖函数指针的实现并用于共享库