.NET COMException not registered

I do not understand this. I want to use OCX from this provider http://www.mobyt.it/ to send SMS. This is a dll, and they provide usage examples in Vb, .NET, Visual C, etc.

An exception I get:

System.Runtime.InteropServices.COMException (0x80040154): the interface is not registered. (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

I'm breaking my head. It looks like the COM object is not registered, but how to register it? I tried with regsvr32 with luck.

+3
source share
1 answer

, , 64- Windows. COM, , 32- . EXE > a > "" > " target = x86". " 32-", . Release.

- Regedit.exe , . HKLM\Software\Wow6432Node\Classes\CLSID\{guid}, {guid} - GUID, . 32- HKLM\Software\etc.

SysInterals ProcMon , DLL.

.

.

+7

Source: https://habr.com/ru/post/1770128/


All Articles