30.04.2007, 09:43:55
Renegade Wrote:the code can be added by the .tlb without having to exist in the .exe.Er, no. A TLB file is a by-product of the source code's compilation. It generates something akin to .h , containing prototypes of functions, data types, etc., that the source code exposes for outside use. TLB does not contain any function implementations or other executable code.
In certain circumstances (depending on the language, linking method, etc.), similar files are generated for DLL files, and projects wishing to use functionality from that DLL need that .lib to know the function signatures, data types, etc. that the DLL uses.