2010年4月18日

再论Assembly Registration Tool (Regasm.exe)

摘要: Assembly Registration Tool (Regasm.exe)The Assembly Registration tool reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Fram... 阅读全文

posted @ 2010-04-18 17:46 Acor 阅读(545) 评论(0) 推荐(0) 编辑

Blittable and Non-Blittable Types

摘要: Updated: February 2010Most data types have a common representation in both managed and unmanaged memory and do not require special handling by the interop marshaler. These types are called blittable t... 阅读全文

posted @ 2010-04-18 15:10 Acor 阅读(1158) 评论(0) 推荐(0) 编辑

再论Importing a Type Library as an Assembly

摘要: COM type definitions usually reside in a type library. In contrast, CLS-compliant compilers produce type metadata in an assembly. The two sources of type information are quite different.Note:When avai... 阅读全文

posted @ 2010-04-18 13:00 Acor 阅读(209) 评论(0) 推荐(0) 编辑

再论Type Library Importer (Tlbimp.exe)

摘要: The Type Library Importer converts the type definitions found within a COM type library into equivalent definitions in a common language runtime assembly. The output of Tlbimp.exe is a binary file (an... 阅读全文

posted @ 2010-04-18 12:36 Acor 阅读(264) 评论(0) 推荐(0) 编辑

再论Type Library Exporter (Tlbexp.exe)

摘要: The Type Library Exporter generates a type library that describes the types defined in a common language runtime assembly.tlbexp assemblyName [/out:file] [/nologo] [/silent] [/verbose]The Type Library... 阅读全文

posted @ 2010-04-18 12:22 Acor 阅读(346) 评论(0) 推荐(0) 编辑

Packaging an Assembly for COM(From msdn)

摘要: COM developers can benefit from the following information about the managed types they plan to incorporate in their application: A list of types that COM applications can consume Some managed types ar... 阅读全文

posted @ 2010-04-18 12:00 Acor 阅读(259) 评论(0) 推荐(0) 编辑

导航