I found some code to register a dll and produce a typelib:
C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\regasm.exe /tlb /codebase Interop.QBFC14.dll, b