2009年12月28日

To consume a managed type from COM 之四 Deploying an Application for COM Access

摘要: Deploying an Application for COM Access .NETFrameworkDeveloper'sGuideDeploying an Application for COM AccessAssemblies can be private or shared. Private assemblies are available only to clients in the... 阅读全文

posted @ 2009-12-28 12:50 Acor 阅读(152) 评论(0) 推荐(0) 编辑

To consume a managed type from COM 之三 Calling a .NET Object

摘要: Calling a .NET Object .NETFrameworkDeveloper'sGuideCalling a .NET ObjectA COM client can create an instance of a public class in an assembly and call the public members of the class. The common langua... 阅读全文

posted @ 2009-12-28 12:34 Acor 阅读(153) 评论(0) 推荐(0) 编辑

To consume a managed type from COM 之二 Referencing .NET Types from COM

摘要: Referencing .NET Types from COM .NETFrameworkDeveloper'sGuideReferencing .NET Types from COMFrom the point of view of client and server code, the differences between COM and the .NET Framework are lar... 阅读全文

posted @ 2009-12-28 12:26 Acor 阅读(197) 评论(0) 推荐(0) 编辑

To consume a managed type from COM 之一 Register assemblies with COM

摘要: Registering Assemblies with COM .NETFrameworkDeveloper'sGuideRegistering Assemblies with COMYou can run a command-line tool called the Assembly Registration Tool (Regasm.exe) to register or unregister... 阅读全文

posted @ 2009-12-28 12:18 Acor 阅读(209) 评论(0) 推荐(0) 编辑

2009年12月26日

Exposing .NET Framework Components to COM 综述

摘要: Exposing .NET Framework Components to COMWriting a .NET type and consuming that type from unmanaged code are distinct activities for developers. This section describes several tips for writing managed... 阅读全文

posted @ 2009-12-26 20:24 Acor 阅读(210) 评论(0) 推荐(0) 编辑

Compiling to MSIL

摘要: Compiling to MSIL .NETFrameworkDeveloper'sGuideCompiling to MSILWhen compiling to managed code, the compiler translates your source code into Microsoft intermediate language (MSIL), which is a CPU-ind... 阅读全文

posted @ 2009-12-26 19:19 Acor 阅读(249) 评论(0) 推荐(0) 编辑

MSIL Disassembler (Ildasm.exe)

摘要: MSIL Disassembler (Ildasm.exe)The MSIL Disassembler is a companion tool to the MSIL Assembler (Ilasm.exe). Ildasm.exe takes a portable executable (PE) file that contains Microsoft intermediate languag... 阅读全文

posted @ 2009-12-26 18:07 Acor 阅读(1108) 评论(0) 推荐(0) 编辑

Assembly to Type Library 之 Exported Member Conversion(Describes how export process converts methods, properties,event)

摘要: Exported Member ConversionThis topic describes how the export process converts the following members: MethodsPropertiesEvents MethodsCOM clients expect to call methods, passing familiar COM data types... 阅读全文

posted @ 2009-12-26 17:20 Acor 阅读(368) 评论(0) 推荐(0) 编辑

Introducing the Class Interface

摘要: Introducing the Class InterfaceThe class interface, which is not explicitly defined in managed code, is an interface that exposes all public methods, properties, fields, and events that are explicitly... 阅读全文

posted @ 2009-12-26 15:59 Acor 阅读(331) 评论(0) 推荐(0) 编辑

Assembly to Type Library 之 Exported Type Conversion (Describes how the export process converts classes, interfaces, val)

摘要: Exported Type ConversionThis topic describes how the export process converts the following types: ClassesInterfacesValue typesEnumerations In general, exported types retain the same name they had with... 阅读全文

posted @ 2009-12-26 15:34 Acor 阅读(366) 评论(0) 推荐(0) 编辑

导航