Showing a Winforms component in a Delphi Frame

Hello,

We have a Delphi application here that works very well.
We are looking for a specific data display mode and could not find any Delphi component, but we found a very good .Net component at DevExpress.
So we decided to look around to see if it is possible to “host” such a .Net component in a Delphi application and came across Hydra.
Looking at the documentation, it seems possible by creating a plugin in C# and using that in the Delphi “host”.
But what I’m not understanding is how the properties and methods from the component are published. And are there any limitations as to what can be done or the performances of the hosted components?

Regards,
Olivier

pls read Hydrafying your Application and Cross Platform Plugins with Hydra articles - they can be helpful in your case.

Hello

Please take a look at this post: Need a Jumpstart with Delphi XE3 and .NET 2.0 DLL Assemblies Integration

It shows how to provide a Plugin-Host interface.

There IS a performance hit, but it is not he plugin or host performance issue. The performance is affected by the process of calling a .NET method from unmanaged code as it involves parameter marshaling etc. Still this performance hit is visible only if you are going to call some plugin method from host thousands of times per second.

Regards