文件名称:ManagedCodefromUnmanaged
介绍说明--下载内容来自于网络,使用问题请自行百度
One significant part of developers (including myself) are doing some kind of automation of Microsoft Office that was already treated by Mike Gold. So I will concentrate on opposing side of problem, how to use managed assembly from MS Office or VB scr ipt. It is a good idea to check your .NET Framework SDK Documentation, especially Interoperating with Unmanaged Code. For a start we will first check managed side of story. To expose managed types, properties, fields, or events to COM they must be public. Types can t be abstract and they must have default constructor. It s recommendable to define interface explicitly but it is not necessary, tools provided with .NET Platform are capable of creating one for you.-One significant part of developers (including myself) are doing some kind of automation of Microsoft Office that was already treated by Mike Gold. So I will concentrate on opposing side of problem, how to use managed assembly from MS Office or VB scr ipt. It is a good idea to check your .NET Framework SDK Documentation, especially Interoperating with Unmanaged Code. For a start we will first check managed side of story. To expose managed types, properties, fields, or events to COM they must be public. Types can t be abstract and they must have default constructor. It s recommendable to define interface explicitly but it is not necessary, tools provided with .NET Platform are capable of creating one for you.
相关搜索: UnManaged
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Calling Managed Code from Unmanaged Code.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.