Delphi WPF sample with Oxygene

Is there an example which uses the IHYCrossPlatformWrapper with Oxygene? I tried to translate the C# sample of the Delphi WPF sample into Oxygene but it falied with Interface errors. The docs show C# examples only. Any hint is welcome.

Hello

Which exactly interface errord did you got? It would be better if you’d post your translated plugin here or send it to support@ so we could check it and say what you did miss.

Regards

Thank you for your quick reply.I will send the plugin to the support.

A post was split to a new topic: Delphi wpf sample with oxygene

For further reference:
The issue was related to Oxygene generating slightly different methods table than C# does. So one had to manually place property access methods to the proper place like

namespace Visualizer;

interface

uses
  System,
  System.Collections.Generic,
  System.Runtime.InteropServices,
  System.Text,
  RemObjects.Hydra.CrossPlatform;

type
  [Guid('8032a51c-5961-41f5-9582-c77d98ea4d93')]
  IVisualizerControl = public interface(IHYCrossPlatformInterface)
    //property BarsVisible: Boolean read  write ;
    method get_BarsVisible: Boolean;
    method set_BarsVisible(value: Boolean);

    method Randomize;
    method Sinus(aRange: Double);
  end;

implementation

end.