检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:冯士德[1]
机构地区:[1]上海交通大学软件学院
出 处:《微型电脑应用》2013年第1期38-40,44,共4页Microcomputer Applications
摘 要:在软件项目的开发过程中,总是会存在一些涉及托管代码与非托管代码之间互操作的需求。由于这两类代码执行机制不同,造成了这两类代码间的交互存在一定的障碍。而C++/CLI代码却是一种特殊的编程技术,它介于托管代码与非托管代码之间。所以以C++/CLI代码作为中介,可以简单且高效的实现托管代码与非托管代码之间的交互。对如何使用C++/CLI代码实现托管代码与非托管代码之间的交互进行了研究,并以C#代码为例展示了其交互方式,最后通过一个试验,对此交互方式的执行效率进行了验证。There always exist the requirement of the interaction between managed code and unmanaged code in some software de-velopment project.But there is a gap between managed code and unmanaged code,because the difference of the run principle.C++/CLI is a special program technology.It can deal with both managed code and unmanaged code.So with the help of C++/CLI,we can realize the interaction between managed code and unmanaged code.This paper will discuss about how to realize the interac-tion between managed code and unmanaged code by using C++/CLI,and use a C# Sample to show the interaction method.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49