Hosting WPF Controls in a JUCE application


#1

I am using an SDK that provides its Windows version in .NET WPF form†. I have been going in circles the past few days trying to figure out how to embed the WPF controls into my JUCE application. The best I can tell, the only way to do it is implementing multiple layers, something like [ActiveXControlComponent [ActiveX control [WinForm [HwndSource [WPF control]]]]]. This just seems fraught with trouble. Do any of you have a better way to host WPF controls in an otherwise-normal JUCE application?

† Specifically, I am developing a GIS application that uses ArcGIS Runtime SDK. Esri provides this library in different forms depending on your target platform. I have the Mac and iOS versions of my application working fine thanks to NSViewComponent and UIViewComponent.