My managed app is using COM interop.
我的管理应用程序使用COM互操作。
Describes the wrappers provided by COM interop.
描述由COM互操作提供的包装。
Describes marshaling for COM interop and platform invoke.
描述如何对COM互操作和平台调用进行封送处理。
Describes how to raise and handle events using COM interop.
描述如何使用COM互操作来引发和处理事件。
If COM interop is not used, then the thread is not initialized.
如果没有使用COM互操作,则不初始化该线程。
Primary interop assemblies, which are used for COM interoperability.
用于COM互操作性的主互操作程序集。
COM threading models only pertain to applications that use COM interop.
COM线程模型只适用于使用COM互操作的应用程序。
Describes how COM interop selects runtime versions and resolves managed types.
描述COM互操作如何选择运行时版本和解析托管类型。
Managed wrappers are easy to write using either platform invoke or COM interop.
使用平台调用或COM 互操作,可以很方便地编写托管包装。
COM interop tools, on occasion, might also apply the attributes described in this table.
有时,COM互操作工具也可能会应用下表所述的特性。
COM interop generates the necessary delegates in metadata that you include in your managed client.
COM互操作将在元数据中生成必需的委托,这些委托将包括在托管客户端中。
The following table describes attributes that COM interop tools apply during the conversion process.
下表将说明COM互操作工具在转换过程应用的特性。
COM interop provides support for both using COM objects from managed code and exposing managed objects to COM.
COM互操作同时对在托管代码中使用COM对象和向COM公开托管对象提供支持。
The application thread is only initialized for com interop if the thread actually makes a call to a com component.
如果应用程序线程实际调用了COM组件,则仅为COM互操作初始化该线程。
Com interop wrappers are required by the common language runtime (CLR) to manage and communicate with com components.
COM互操作包装是公共语言运行时(CLR)管理COM组件和与之通信所必需的。
This message box is displayed when the project system could not create a com interop wrapper for a particular component.
当项目系统未能为特定组件创建COM互操作包装时,将显示此消息框。
By default, com interop applications calling to managed code use the latest version of the runtime installed on the computer.
默认情况下,调用托管代码的COM互操作应用程序使用计算机上所安装的运行时的最新版本。
You can adjust the outcome of the conversion process performed by COM interop tools and APIs by using design-time attributes.
利用设计时特性,可以调整COM互操作工具和API 所执行的转换过程的结果。
Managed classes that implement the class interface (a COM interop-generated interface) are subject to versioning restrictions.
实现类接口(由COM互操作生成的接口)的托管类会受到版本控制的限制。
This section describes the two types of manifests needed for registration-free COM interop: application and component manifests.
本节描述免注册COM互操作所需要的两类清单:应用程序清单和组件清单。
Assemblies used by COM interop must be registered in the catalog, although in some cases this registration occurs automatically.
由COM互操作使用的程序集必须在目录中进行注册,尽管有些情况下会自动进行此注册。
Com interop projects that reference one or more assemblies containing imported com types are compiled like any other managed project.
如果COM互操作项目引用一个或多个包含导入COM类型的程序集,则可以像其他任何托管项目一样进行编译。
For backward compatibility, com interop provides access to existing com components without requiring that the original component be modified.
为了实现向后兼容,COM互操作允许对现有的COM组件进行访问而无需修改原始组件。
Com interop also introduces forward compatibility by enabling your com clients to access managed code as easily as they access other com objects.
COM互操作还使COM客户端能够像访问其他COM对象一样方便地访问托管代码,从而提供了向前兼容。
Although COM interop does not actually load the runtime (runtime startup code does), a COM application can target a specific version of the runtime.
虽然COM互操作并不实际加载运行时(而是由运行时启动代码加载),但COM应用程序可以指定一个特定的目标运行时版本。
If you are writing a custom installation program, this topic can assist you in understanding the registration requirements of side-by-side execution for COM interop.
如果您要编写自定义安装程序,本主题可以帮助您了解并行执行COM互操作的注册要求。
NET COM interop is caching references to all the COM objects that have been created on this thread, and the thread is shutting down before these references are released.
NETCOM互操作正在缓存对在此线程上创建的所有COM对象的引用,并且线程在这些引用被释放之前正在关闭。
NET interop to allow COM usage, but the problem with that is that you need to register it somehow.
NET互让的COM的使用,但有问题,那就是你需要注册它不知。
When you use embedded interop types, you can embed them from the primary interop assembly published by the author of the com component.
当使用嵌入的互操作类型时,您可以从COM组件的作者所发布的主互操作程序集中嵌入这些类型。
If your assembly references types from a third-party COM type library, you must obtain a primary interop assembly from the publisher before you can generate your primary interop assembly.
如果您的程序集引用第三方COM类型库中的类型,必须先从发行者获取一个主互操作程序集,才能生成您的主互操作程序集。
应用推荐