Chapter 9. An In-Depth Look at Exported Type Libraries

In This Chapter

Converting the Assembly

Converting .NET Data Types

Converting Members

Converting Interfaces

Converting Classes

Converting Value Types

Converting Enumerations

The previous chapter demonstrated how using a .NET component in a COM application can be just like using a COM component, and how type libraries can be created for any .NET component simply by running TLBEXP.EXE (or REGASM.EXE with its /tlb option). In many cases, using the exported type definitions may be self-explanatory, but it is often necessary to gain a deeper understanding of the type library exporter. Even if the author of the .NET component considered the needs of COM users when designing the ...

Get .NET and COM: The Complete Interoperability Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.