The Type Library Exporter (Tlbexp.exe) is a tool automatically installed with Visual Studio, which generates a type library that describes the types defined in a common language runtime assembly.
Questions tagged [tlbexp]
18 questions
0
votes
1 answer
"The public struct contains one or more non-public fields that will be exported" - but there are no fields?
I have the struct below which is being compiled for COM interop. I get the following build warning:
warning : Type library exporter warning processing
'MyNamespace.MyStruct.k__BackingField,
MyAssemblyName'. Warning: The public struct contains…

StayOnTarget
- 11,743
- 10
- 52
- 81
0
votes
1 answer
Resolve .net tlb reference
Right now I am writing a .net dll which should be useable within VBA code (Excel, Access etc.). The following setup is working fine:
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[ComVisible(true)]
[Guid("8079e4a4-1e4b-4788-92ba-9d5b017fa9be")]…

MaxWell
- 43
- 1
- 5
-1
votes
1 answer
How can I extract a .tlb from a .exe
I have a COM application that I want to use, but I only have the .exe from that app. Is there a way to extract the .tlb from that .exe?
I tried with tlbexp filename.exe from Visual Studio Command Prompt, but I get an error and I don't know why:…

CristianLuca
- 111
- 2
- 10