您必须从早期版本的BDS [$(BDS)include ATL *复制ATL文件.*]使用ATL
You must copy ATL files from an earlier version of BDS [$(BDS)includeatl*.*] to use ATL?
我正在使用embarcadero c++ XE8 32位。当我包含以下文件时:
#include<ATLBASE.h>
#include<UTILCLS.h>
#include<opcda.h>
#include<DataCallBackSink.cpp>
我得到以下错误:
[bcc32 Fatal Error] atlbase.h(5): F1003 Error directive: You must copy ATL files from an earlier version of BDS [$(BDS)includeatl*.*] to use ATL
当我打开文件时,我会看到下面的文字:
// CBuilderXE does not include ATL files as we were unable to secure a license
// For C++ ActiveX development you can now use the DAX (Delphi ActiveX) Framework
// Alternately, you may copy the ATL files from an earlier version of C++Builder
// $(BDS)includeatl*.* ---> $(BDS)includewindowssdkatl
#error You must copy ATL files from an earlier version of BDS [$(BDS)includeatl*.*] to use ATL
我将文件直接添加到我的程序中,并使用名为includeATL*文件名*的映射
我想,当我将这些文件复制到windowssdkatl目录时,它会工作,但它没有
以前有人遇到过这个错误吗?如果你解决了,你是怎么解决的?
除了包含文件之外,还需要复制一个.lib文件。你可以从这里下载。
如果问题仍然存在,请确保项目选项中的搜索路径是正确的。
相关文章:
- ATL::CComContainedObject<contained>: C2259 无法实例化抽象类
- ATL OLE DB Consumer Templates 与 Microsoft OLE DB Driver for
- 在Visual Studio 2017上使用VC++ 2015工具链时缺少ATL标头
- C++ ATL | 找不到_InternalQueryInterface标识符
- 迁移到 Visual Studio 2015 时 ATL 不起作用
- COM 事件需要 C3702 atl
- ATL COM - EnumWindows 回调函数不适用于 IDispatch::Invoke
- C++COM ATL VariantChangeType 会导致 WSH 崩溃
- WinAPI - GetLastError 在通过 COM ATL DLL 调用时始终返回 0
- MFC/DLL中缺少ATL :: CSTRINGT功能,该功能与Clang/vs-2019构建
- 如何使用 ATL/MSOLEDBSQL 启用连接资源池
- 如何将atl :: cimage转换为cv :: mat
- 错误 C4839:非标准地使用类 'ATL::CW2AEX<520>' 作为可变参数函数的参数
- 如何在ATL项目中使用ActiveX DLL
- 我有一个启用了代理存根支持的 ATL 项目,在哪里可以找到 xdlldata.h 文件中所有方法的实现
- 如何在 ATL COM 模块中打印控制台输出
- 将文本日期和时间转换为 ATL::CTime
- MFC vs ATL for ActiveX
- 带有ATL子类的Windows 10 64位上的随机崩溃
- 您必须从早期版本的BDS [$(BDS)include ATL *复制ATL文件.*]使用ATL