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

**URL:** https://talk.remobjects.com/t/missing-example-delphi-host-net-wpf-net-5-plugin/26443
**Category:** Hydra
**Tags:** plugins, wpf, delphi, net
**Created:** [March 29, 2022, 12:02pm UTC](https://talk.remobjects.com/t/missing-example-delphi-host-net-wpf-net-5-plugin/26443 "2022-03-29T12:02:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mauro.ubeda](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/ecb155/32.png) [@mauro.ubeda](https://talk.remobjects.com/u/mauro.ubeda)
#### Post date: [March 29, 2022, 12:02pm UTC](https://talk.remobjects.com/t/missing-example-delphi-host-net-wpf-net-5-plugin/26443/1 "2022-03-29T12:02:35Z")

</div>

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/](https://docs.hydra4.com/Plugins/VisualPlugin_NETCore_WPF/)

Tks!  
Mauro

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [March 29, 2022, 1:54pm UTC](https://talk.remobjects.com/t/missing-example-delphi-host-net-wpf-net-5-plugin/26443/5 "2022-03-29T13:54:48Z")

</div>

Hi,

in Delphi you should use something like

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

```

instead of

```auto
  ModuleManager.LoadModules('*Plugin*.dll');

```

---

<div class="post-metadata">

### Author: ![mauro.ubeda](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/ecb155/32.png) [@mauro.ubeda](https://talk.remobjects.com/u/mauro.ubeda)
#### Post date: [March 30, 2022, 10:47am UTC](https://talk.remobjects.com/t/missing-example-delphi-host-net-wpf-net-5-plugin/26443/10 "2022-03-30T10:47:42Z")

</div>

Thank you so much! It worked!
