Need simple sample

Hello,

i’m struggling creating a visual wpf plugin in a Delphi host application.
I got the wpf plugin programmed and the host.
In the host I can visualize the plugin and send commands and data to the wpf plugin, all fine.
But i need to receive messages from the wpf plugin and process them in the Delphi host application.
I can’t get this to work.
Is there no simple sample how to do this?

Thanks.

Hello

Take a look at the attached sample. It is rather old, yet it should show the approach: HostEventTriggering.zip (77.7 KB)

Regards

It only works windows forms. Not working WPF. Interface not supported exception received. Any other solution?

The approach above was used in both WinForms and WPF apps. Please provide a testcase what exactly doesn’t work.