期刊文献+

一种64位进程调用32位DLL的方法 被引量:1

A Method of 64-bit Process Calling 32-bit DLL
在线阅读 下载PDF
导出
摘要 64位进程不能加载32位dll是程序或平台移植中需要解决的一个难题。比较了32位和64位体系结构的区别,分析了64位进程不能加载32位dll的原因。研究了进程外COM服务器组件的内部机制,给出了64位进程访问32位进程外COM组件的调用模型。设计并实现了32位的进程外COM服务器。在COM组件类中封装对32位dll的访问接口,64位进程通过调用在32位进程外COM服务器中注册的COM组件类中的接口,间接地访问32位dll的相关接口功能。方法设计时采用单态模式和垃圾回收机制,线程安全,性能稳定。 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 registered 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.
出处 《计算机技术与发展》 2013年第3期93-95,100,共4页 Computer Technology and Development
基金 陕西省科学技术研究发展计划项目(2012K06-14) 陕西省教育自然科学专项基金资助项目(08JK310)
关键词 进程外 COM 64位进程 单态 线程安全 out-of-process COM 64 -bit process singleton thread security
  • 相关文献

参考文献12

二级参考文献36

  • 1姜军银,侯立刚.基于COM技术的通用数据库存取组件的设计[J].辽宁石油化工大学学报,2005,25(1):75-77. 被引量:6
  • 2高明..NET Framework对COM组件的调用机制研究[J].科学技术与工程,2006,6(14):2177-2179. 被引量:5
  • 3潘爱民.COM原理和应用[M].北京:清华大学出版社,1999.303-306.
  • 4Eugene Olafsen Kenn Scribner.MFC Visual C++6编程技术内幕[M].北京:机械工业出版社,2000..
  • 5David J Kruglinski.Visual C++技术内幕[M].北京:清华大学出版社,1999..
  • 6杜理渊 陈伟杰 傅育熙.CORBA/IIOP的π-演算模型[A].傅育熙主编.1998年全国青年计算机工作者会议论文集[C].上海:上海科学技术文献出版社,1998..
  • 7Sanglorgi D. A Theory of Bisimulation for π-Calculus. Acta Information, 1996:69-97.
  • 8Milner R, Parrow J,Walker D. A Calculus of Mobile Process II.Information and Computation, 1992, 100 : 41-77.
  • 9CHEN Thomas M, LIU Stephen S.A model and evaluation of distributed network management approaches[J]. IEEE Journal on Selected Areas in Communications, 2002, 20(4):851-853.
  • 10BRILL Gregory. Applying COM+[M]. Que. 2000.

共引文献40

同被引文献3

引证文献1

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部