Can't import Delphi interfaces in .Net host

hydra-version-4

(Paul Sjoerdsma) #1

Hi,

Hydra 4
Delphi Berlin
VS 2015

I’m setting up a proof of concept where I need to call a Delphi DLL from a C# host using Hydra.
I am looking at the documentation:
Passing Interfaces between Host and Plugin (https://docs.hydra4.com/HowTos/PassingInterfacesBetweenHostAndPlugin)

It simply tells you to import the Delphi interface
" Of course you can also create interfaces in Delphi and then convert them to .Net by selecting Import Interfaces from Delphi Unit from the solution explorer:"

I can’t find this command from the solution explorer or from the menu commands.

Any ideas or suggestions?

regards
Paul Sjoerdsma


(antonk) #3

Hello

Which exactly Hydra 4 build do you use?

Some of the Hydra 4 builds were released in 2012, 3 years before VS 2015 release.

Also what is the exact .NET application kind/laguage you are trying to import the plugin in?

Regards


(Paul Sjoerdsma) #4

Which exactly Hydra 4 build do you use? --> 4.0.83.1127
Also what is the exact .NET application kind/laguage you are trying to import the plugin in: --> VS 2015 (Version 14.0.25431.01 update 3) C# .Net Framework 4.5.2

regards
Paul


(antonk) #5

Hello

Please select the project you want to import plugin into in the Solution Explorer.

This icon should appear: Hydra

If it doesn’t appear then please try to reinstall Hydra, just in case it didn’t integrate into your VS 2015 instance properly.

Regards