Indexed Property interface translation to Delphi

Hi everybody,

I have been evaluating the trial version of Hydra and most everything worked out well. However, I have a couple of issues I need solutions for. I have to admit I am very weak on interfaces, so getting Hydra to do all the things I needed to do was a learning curve.

I have defined an index property in a VS2013 VB.Net interface as shown below

Public Interface ICusips
Inherits IHYCrossPlatformInterface

ReadOnly Property Item(aIndex As Integer) As ICusip

End Interface

On the Delphi 2007 side, the imported interface does not create a property, but just the get_Item function.

ICusips = interface(IHYCrossPlatformInterface)
[’{99afc097-4e73-48ff-96a1-b25adb10fb26}’]
function get_Item(const aIndex: LongInt): ICusip; safecall;
end;

Is there something else I need to do on the Visual Studio side, or is this a limitation of the Hydra interface translator?

TIA

Bernhard

Hello

Unfortunately indexed properties aren’t supported atm by the Interface Translator. I’ll log the appropriate issue.

Regards

Thanks, logged as bugs://72055