Question: how to create tlh file?
Answer:  In your C# project, open the AssemblyInfo. cs (located in Properties directory). Set [ComVisible(true)] (default is false).  Once you build the project, the tlb file will be created in the output directory.  In C++ code, use #import "SomeFile. tlb" .