Error registering .tlb file in C # DLL for COM INTEROP

I have a DLL that I am trying to create using COM interoperability to use inside a VB6 program. When I try to build a solution, the following error appears:

The assembly DLLFilePath may not need to be converted to a type library. The type of library exporter encountered an error while processing 'DLLName.DLLName, DLLName'. Error: Element not found.

Then I tried to manually register .tlbusing RegAsm , however I found a very similar error (error:) RA0000.

I do not know the cause of these errors? Maybe because I use the DataTable type and it cannot be compatible?

+3
source share
1

! GUID . GUID, !

+10

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


All Articles