Interop: When deploying a VB6 + .NET component, do you need .TLB?

When deploying a software package containing a VB6 executable and a .NET component, do you need a .TLB file?

If not, is it enough to enable the DLL and allow it during installation?

+3
source share
2 answers

If you want to include the .tlb file in the installation, you will need a way to register this file for COM.

Instead, you can exclude the .tlb file and just regasm dll; .tlb will be created and registered with the user system.

+5
source

.DLL .TLB. - , , , GAC. RegAsm /codebase.

, .NET COMVisible = true.

0

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


All Articles