Which DLL to register?

0

I'm not familiar with .NET and I don't have source code of application, but when I start application (it's connected to machine by COM port) it fails.

I know that the Class is not registred, but which class is it an how to register it?

Where to start?

I've tried to install:

.NET frameworks and C++ redistributables

************** Text of Exception **************
System.InvalidOperationException: Při vytváření formuláře došlo k chybě. Podrobnosti viz Exception.InnerException. Chyba: Třída není zaregistrována (Výjimka na základě hodnoty HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ---> System.Runtime.InteropServices.COMException (0x80040154): Třída není zaregistrována (Výjimka na základě hodnoty HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
   v System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
   v System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
   v System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
   v System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
   v System.Windows.Forms.AxHost.CreateInstance()
   v System.Windows.Forms.AxHost.GetOcxCreate()
   v System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
   v System.Windows.Forms.AxHost.CreateHandle()
   v System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   v System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   v System.Windows.Forms.AxHost.EndInit()
   v Hall_sensor_VW_Test.SplashScreen1.InitializeComponent()
   --- Konec trasování zásobníku pro vnitřní výjimku ---
   v Hall_sensor_VW_Test.My.MyProject.MyForms.Create__Instance__[T](T Instance)
   v Hall_sensor_VW_Test.My.MyProject.MyForms.get_SplashScreen1()
   v Hall_sensor_VW_Test.Main.Main_Load(Object sender, EventArgs e)
   v System.EventHandler.Invoke(Object sender, EventArgs e)
   v System.Windows.Forms.Form.OnLoad(EventArgs e)
   v System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   v System.Windows.Forms.Control.CreateControl()
   v System.Windows.Forms.Control.WmShowWindow(Message& m)
   v System.Windows.Forms.Control.WndProc(Message& m)
   v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Načtená sestavení **************
mscorlib
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.8793 (QFE.050727-8700)
    Základ kódu: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
007_001_004-VW_Polo_EU5
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.0.0
    Základ kódu: file:///C:/Users/cmt/AppData/Local/Apps/2.0/LEG46MY3.OYN/M5YN9Y8N.KH7/007_..tion_a08f3888abb96fec_0002.0000_6d650940a555ea1c/007_001_004-VW_Polo_EU5.exe
----------------------------------------
Microsoft.VisualBasic
    Verze sestavení: 8.0.0.0
    Verze Win32: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.8803 (QFE.050727-8800)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.8771 (QFE.050727-8700)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Windows.Forms.resources
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_cs_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
AxInterop.ShockwaveFlashObjects
    Verze sestavení: 1.0.0.0
    Verze Win32: 1.0.0.0
    Základ kódu: file:///C:/Users/cmt/AppData/Local/Apps/2.0/LEG46MY3.OYN/M5YN9Y8N.KH7/007_..tion_a08f3888abb96fec_0002.0000_6d650940a555ea1c/AxInterop.ShockwaveFlashObjects.DLL
----------------------------------------
mscorlib.resources
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.8793 (QFE.050727-8700)
    Základ kódu: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualBasic.resources
    Verze sestavení: 8.0.0.0
    Verze Win32: 8.0.50727.5420 (Win7SP1.050727-5400)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_cs_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
.net
serial-port
asked on Stack Overflow Jun 19, 2019 by gaffcz • edited Jun 26, 2019 by gaffcz

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0