To bind a TLB to a DLL as a resource, insert this line into your .rc file: 1 TYPELIB YourTypeLib.tlb 这样就可以注册成功了