消费在Delphi XE2 .NET程序集 [英] Consume .NET assembly in Delphi XE2

查看:216
本文介绍了消费在Delphi XE2 .NET程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些在.NET和一些在Delphi中实现的业务逻辑。现在我计划升级到德尔福XE2。

I have some of the business logic implemented in .NET and some in Delphi. Now i am planning to upgrade to Delphi XE2.

难道我们必须从德尔福XE2?

Do we have any provision to consume .net assembly from Delphi XE2?

更新:我听到关于水润框架这使我们能够整合托管和非托管code。任何人都可以解释一下它与一个小的演示/ code段?

Update: I heard about Hydra framework which enable us to integrate managed and unmanaged code. Can anyone explain more about it with a small demo / code snippet?

更新:我试图在这个水润框架试用版几件事情。但是,它需要修改你的.NET程序集,以及创建接口,这样我们就可以绘制这个德尔福code。

Update: I have tried few things on Trial version of this Hydra Framework. But it requires to modify your .NET assembly as well to create interface so that we can map this with Delphi code.

有没有办法消耗.NET程序集,而无需修改呢?

Is there any way to consume .NET assembly without modifying it?

推荐答案

看一看 AToZed干扰,它可以直接使用.NET程序集,而无需使用COM互操作。

Have a look at AToZed CrossTalk, it can consume .NET assemblies directly without using COM interop.

这篇关于消费在Delphi XE2 .NET程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆