Hi all,
The type library is an important file for COM interop, without which
unmanaged code can't interact with managed code.
When I use .NET 2003, I can sucessfully generate .tlb file from a .NET Dll
(built with /clr:oldsyntax switch) - using tlbexp or Regasm /tlb.
The above technique never works for .NET 2005. (Both for Beta1 & Beta2).
The thing is that a .tlb file gets generated with an empty library statement
block, ano NO types are exported in the .tlb file.
We tried it several time in our HCLT lab using the tlbexp or the Regasm
utility which comes with .NET 2005. We also tried with the older vertion of
the regasm or tlbexp - but nothing works.
Where is the problem ? is it in the latest version of the IDE or with the
latest tlbexp or regasm utility?
Please advice
Sincerely
Sanjoy Sinharoy
HCLT - INDIA