Missing Example Delphi Host -> .Net WPF .net 5 Plugin

Hi there!
I was wondering if you can provide to me a working simple example of Delphi 11 as a Host application with a .net 5 WPF plugin. I tried myself, but i could it make it work.

I used this doc to create the plugin, but i didn’t find any example to use it in Delphi. The samples provided on the installer are not .Net 5.

https://docs.hydra4.com/Plugins/VisualPlugin_NETCore_WPF/

Tks!
Mauro

Hi,

in Delphi you should use something like

  ModuleManager.LoadComModule('{7E47FB9E-8F3C-4F79-AA03-DB5A07033FE3}'); // com guid

instead of

  ModuleManager.LoadModules('*Plugin*.dll');
1 Like

Thank you so much! It worked!

2 Likes