TLB file: Com-type library file. In the module where the corresponding com class needs to be used, "# import... *. TLB" is used.
Tlh and TLI files: they are the standard C ++ files generated by the VC ++ compiler to parse TLB files. Because odl and TLB are not c ++ standards, it is necessary to translate them into standard C ++ types so that C ++ developers can use them. I believe that VB and J ++ will also translate TLB into type descriptions compatible with their own languages. Tlh is equivalent to the type declaration (header file), and TLI is equivalent to the definition implementation (CPP file ). You can use the WordPad to open and view its content.
Note an important related question:
Under VC, # import "A. TLB" no_namespace named_guids; after compilation, two files a. tlh and A. TLI are generated,After the TLB file is updated, the two corresponding files are not updated.Why?
If the TLB file is updated Select Otherwise, the compiler still considers the. tlh and. TLI files to be up-to-date.