Use of ActiveX control in WPF core 3.0 app throws error

0

I'm trying to use an ActiveX control in my WPF net core self contained app I previously used it with the traditional .Net Framework and it worked fine. I get the following error

Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, 
Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
wpf
.net-core
asked on Stack Overflow Sep 3, 2019 by Joe B

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0