//
archives

TLBIMP.EXE

This tag is associated with 3 posts

The Significance of the COM coclass.

1. Introduction. 1.1 Intermediate COM application developers generally understand the COM development process and are familiar with most of the ubiquitous terms, phrases and concepts, e.g. IUnknown, IDispatch, interfaces, reference counting, interface querying, registration, progID, events, etc. 1.2 The keyword “coclass”, however, remains mysterious and relatively misunderstood. The reason for this is probably due to its perceived lack … Continue reading

Interop Assemblies – Some General Advise on Usage.

1. Introduction. 1.1 An interop assembly is a special .NET assembly which contains type information on imported COM types. 1.2 Unlike a typical assembly, it contains mostly metadata. This metadata enables managed code compilers to resolve COM object property access and method calls in code. 1.3 At runtime, the metadata of an interop assembly enables the CLR … Continue reading

Specifying Arrays in UDTs

1. Introduction. 1.1 Although COM User-Defined Types (UDTs) commonly use BSTRs to hold strings (i.e. character arrays) and SAFEARRAYs to hold arrays of other types, it is possible to define character arrays and arrays of other types inside a UDT. 1.2 This blog will demonstrate the use of arrays inside a UDT with an emphasis … Continue reading