简体   繁体   English

将Delphi 2007组件迁移到.NET

[英]Migrate Delphi 2007 component to .NET

I need some help. 我需要协助。

I have generated a component in Delphi 2007 Code Gear and I need to migrate it to .NET to be used by VB.NET platform. 我已经在Delphi 2007 Code Gear中生成了一个组件,我需要将其迁移到.NET以供VB.NET平台使用。

I generated an ActiveX dll but I have been told that only the declaration of the class is visible in .NET. 我生成了ActiveX dll,但被告知在.NET中仅可见类的声明。

Actually the component I have generated is inherited by another component of which I have only the .dcu files. 实际上,我生成的组件是由另一个只有.dcu文件的组件继承的。 My new component is exactly similar as the parent one except from that I have overridden the constructor create. 我的新组件与父组件完全相似,除了我已经覆盖了构造函数create之外。

I wonder why the .NET, although it accepted the component, it did not provide the inherited properties, methods etc. 我想知道为什么.NET尽管接受了该组件,却没有提供继承的属性,方法等。

I would appreciate any explanation, clarification, any help. 任何解释,说明和帮助,我将不胜感激。

Thank you. 谢谢。

您是否考虑过使用Delphi Prism而不是ActiveX将代码作为真正的.net程序集引入.net世界?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM