[1]曹子建,容晓峰,刘宝龙.一种64位进程调用32位DLL的方法[J].计算机技术与发展,2013,(03):93-95.
 CAO Zi-jian,RONG Xiao-feng,LIU Bao-long.A Method of 64-bit Process Calling 32-bit DLL[J].,2013,(03):93-95.
点击复制

一种64位进程调用32位DLL的方法()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2013年03期
页码:
93-95
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
A Method of 64-bit Process Calling 32-bit DLL
文章编号:
1673-629X(2013)03-0093-03
作者:
曹子建容晓峰刘宝龙
西安工业大学 计算机科学与工程学院
Author(s):
CAO Zi-jianRONG Xiao-fengLIU Bao-long
关键词:
进程外COM64位进程单态线程安全
Keywords:
out-of-processCOM64-bit processsingletonthread security
文献标志码:
A
摘要:
64位进程不能加载32位dll是程序或平台移植中需要解决的一个难题.比较了32位和64位体系结构的区别,分析了64位进程不能加载32位dll的原因.研究了进程外COM服务器组件的内部机制,给出了64位进程访问32位进程外COM组件的调用模型.设计并实现了32位的进程外COM服务器.在COM组件类中封装对32位dll的访问接口,64位进程通过调用在32位进程外COM服务器中注册的COM组件类中的接口,间接地访问32位dll的相关接口功能.方法设计时采用单态模式和垃圾回收机制,线程安全,性能稳定
Abstract:
The 64-bit process cannot load 32-bit dll is a difficult problem to solve in program or platform transplantation. It gives a com-parison of 32-bit and 64-bit system structure,and analyzes the reason that the 64-bit process cannot load 32-bit dll. Study the internal mechanism of out-of-process COM,give a call model about 64-bit process to access 32-bit process COM. Design and implement 32-bit COM server,and the COM component class encapsulates 32-bit dll API. 64-bit process calls 32-bit COM component class interface reg-istered in the process COM server,and indirectly accesses 32-bit dll API. Using singleton mode and garbage collection mechanism,the COM server works stably,and is safe in thread

相似文献/References:

[1]逄栋 姜昌金.流媒体技术及其开发方法[J].计算机技术与发展,2006,(02):145.
 PANG Dong,JIANG Chang-jin.Streaming - media Technique and Methods of Its Development[J].,2006,(03):145.
[2]林鸣霄.基于SpeechSDK的语音识别技术在三维仿真中的应用[J].计算机技术与发展,2011,(11):160.
 LIN Ming-xiao.Application of Speech Recognition Technology in 3D Simulation Based on Speech SDK[J].,2011,(03):160.

更新日期/Last Update: 1900-01-01