Font Size: a A A

The Study Of Binary Loading And Execution Technology Of COM Component On Linux

Posted on:2008-04-18Degree:MasterType:Thesis
Country:ChinaCandidate:L ShiFull Text:PDF
GTID:2178360242493975Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Linux got more and more support and it had vital significance to develop the middle-ware platform which can load and execute COM component on Linux for remedying the lack of application on Linux, promotion Linux and saving software development cost.In this thesis, cross-platform compatibility technology is anatomized and the key technologies about COM component and application developed in Windows running on Linux are analyzed. COM is mainly used in Windows. It is the infrastructure of Windows operating system and its application software, whose prominent advantage is communication between software by binary interface. The main foundation is elaborated in this thesis.In this thesis, a structure design of COM component running platform on Linux is proposed and its prototype is implemented. The platform consists of COM/ActiveX mechanism supporting layer and operating system compatibility layer. The function of operating system compatibility layer is elimating the interface difference between two running system (system calling and graphic displaying mechanism), supply management of process/thread, supply the implement of Windows message mechanism, loading and execution COM component and client program in Linux process spaces, implement the services of COM component and client program's calling for Windows kernel objects and supply the system calling functions of COM component and client program's running needing. The operating system compatibility layer consists of four parts: Win32 kernel dynamic link library, PE format file loader, kernel object service layer and driver adapter. The COM mechanism supporting layer is composed of COM function library, register table and function library of ActiveX control "Container-Control" mechanism supporting. COM function library mainly involve bottom API of creating COM object application, position service functions of component program, transparent RPC implement functions, memory allocation and free function, registering and unregistering function of registry. The registry can be replaced by files. ActiveX control "Container-Control" mechanism supporting functions library includes registering-self, automation and property change notify functions.After having implemented the prototype system, the simple ActiveX control"Calendar"is loaded on it successfully and the design proposed by this thesis was verified, as well as the feasibility and correctness of the implementation technology.This thesis pioneered the key technology of running COM component and ActiveX control directly on Linux and a feasible solution was proposed which has a positive influence on the research of related fields.
Keywords/Search Tags:COM, Linux, Virtual machine, Cross-platform
PDF Full Text Request
Related items