- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
IDL 和 ODL 的主要区别是什么。我有很多项目,有些有idl,有些有odl。我应该在哪里使用它们。什么是权衡。
最佳答案
ODL 是一种传统格式。它已被 MIDL(又名:IDL)取代。查看这篇 Microsoft 官方文章:MIDL and ODL
The Microsoft Interface Definition Language (MIDL) now includes the complete Object Definition Language (ODL) syntax.
现在,如果您有 ODL 文件,您可以保持原样,或将它们迁移到 IDL 中。这将是推荐的解决方案,但它可能容易出错。它与您当前用于从中构建生成文件的工具 MIDL.exe 或 MkTypeLib.exe 密切相关。再次检查有关这些的官方文档:Differences Between MIDL and MkTypLib
In general, you will want to use the MIDL syntax in your IDL files. However, if you need to compile an existing ODL file, or otherwise maintain compatibility with MkTypLib, use the /mktyplib203 MIDL compiler option to force MIDL to behave like Mkktyplib.exe, version 2.03. (This is the last release of the MkTypLib tool.) Specifically, the /mktyplib203 option resolves these differences:
关于c++ - idl 和 odl 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16560661/
我是 ODL Controller 和嵌入式 jetty 的新手。 如果有请求泛滥,我想在 jetty.xml 中添加 DoSFilter 来限制 REST 请求。 我尝试在互联网上搜索,但在 web
如果您的 C++ 项目有一堆 .ODL 文件和从 ODL 编译器生成的 .h 文件,应该告诉 doxygen 解析 .odl 和 .h,还是只解析非此即彼?一般来说,我不喜欢记录生成的代码,但 IDL
IDL 和 ODL 的主要区别是什么。我有很多项目,有些有idl,有些有odl。我应该在哪里使用它们。什么是权衡。 最佳答案 ODL 是一种传统格式。它已被 MIDL(又名:IDL)取代。查看这篇 M
我已将 ODL Netconf 测试工具 (netconf-testtool-1.1.0-Boron-executable.jar) 部署到我的 Nitrogen ODL Controller 上,以
我需要与运行 odl 的路由反射器和我的路由器建立 bgp session ,到目前为止我已经完成了以下操作。安装了 opendaylight karaf,氮气版本。 已安装 bgp 功能(功能:安装
我正在尝试在新的 ODL 版本上为氟创建一个功能。在这个新版本中,软件包:org.opendaylight.mdsal.binding.api.RpcProviderService.RpcRegist
我是 OpenDaylight Controller 的新手,尝试使用 Rest api 发布到 OpenDaylight 时遇到此错误。 function UserAction() { var xh
我目前正在开发基于 OpenDaylight 的应用程序。我想使用 ObjectDB。 但我无法激活我的包。 opendaylight-user@root>bundle:diag ntf-impl (
我无法在 Ubuntu 16.04 机器上安装包 odl-dlux-all。以下是错误信息 Error executing command: Can't install feature odl-dlu
我在 C# 中定义一个接口(interface),它将在 C# 中实现,但作为 COM 对象从非托管 C++ 模块调用。 我知道我想要/需要 C++ API 是什么样子以及我如何通过 ODL 定义它:
我是一名优秀的程序员,十分优秀!