检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:周海洋 黄小大 ZHOU Hai-yang;HUANG Xiao-da(Hardware R&D Department,HNAC Technology Co.,Ltd,Changsha,Hunan 410205,China)
机构地区:[1]华自科技股份有限公司硬件研发部
出 处:《计算技术与自动化》2019年第1期153-156,共4页Computing Technology and Automation
摘 要:在COM组件技术的基础上,对Win32平台下应用程序的二进制接口跨编译器兼容问题进行了研究。通过利用Win32平台下COM技术规约针对对象内存分布的一致约定,结合C++语言虚函数表的特性,提出一种专用于Win32平台的应用程序二进制接口跨编译器兼容问题解决方法。并由该方法衍生出一系列二进制接口兼容的类,形成一整套解决方案。与传统Win32平台上使用C语言接口或COM组件来达到二进制接口兼容的方式不同,新方案采用精简的类和虚函数表来规范对象内存分布,借助Win32平台下编译器对COM技术的广泛支持,实现了应用程序接口在不同编译器下二进制级别的统一。同时,方案保持了原C++语言的面向对象特性,还具有简单、轻量级的特点。On the basis of COM component technology,the application binary interface cross-compiler compatibility issue on Win32 platform was studied. By using the COM technology specification on Win32 platform for the uniform agreement of object memory layout and combining the characteristics of virtual function table of the C++ language,a method of the compatibility problem of application binary interface for Win32 platform is proposed. Derived from this method,a variety of binary interface compatible classes form a complete scheme. Unlike traditional way of using C language interface or COM components to achieve binary interface compatibility,the new scheme uses the simplified class and virtual function table to standardize the object memory layout,and achieves a unified compatibility of application interface at the binary level under different compilers with the aid of wide compiler support for COM technology on Win32 platform. At the same time,the scheme keeps the object-oriented features of the original C++ language ,and also possesses the features of simplicity and lightweight.
关 键 词:WIN32平台 二进制接口兼容 跨编译器 轻量级
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28