Browse Prior Art Database

Realizing COM object functionality under UNIX based systems

IP.com Disclosure Number: IPCOM000212858D
Original Publication Date: 2011-Nov-30
Included in the Prior Art Database: 2011-Nov-30
Document File: 1 page(s) / 87K

Publishing Venue

Siemens

Related People

Juergen Carstens: CONTACT

Abstract

When porting C++(CPP) Component Object Model (COM) code involving so called in-proc servers from Microsoft Windows® to UNIX based systems problems may arise due to system incompatibilities. Up to date no solution has been found to port such code.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 89% of the total text.

Page 01 of 1

Realizing COM object functionality under UNIX based systems

Idea: Sanjeev Gopal Kulkarni, IN-Bangalore

When porting C++(CPP) Component Object Model (COM) code involving so called in-proc servers from Microsoft Windows® to UNIX based systems problems may arise due to system incompatibilities. Up to date no solution has been found to port such code.

In the following a novel procedure is proposed to port CPP COM code to UNIX based systems. It is proposed to treat the CPP COM in-proc server objects as a shared object in UNIX Systems. Briefly the steps are as follows:

• Compile the legacy CPP COM code under UNIX systems either by commenting the COM specific syntax or by preprocessing them with relevant UNIX calls. The output of compilation will be a shared object.


• Dynamically load the shared object created in the previous step.

• Perform the required functionality by invoking Application Programming Interfaces (APls) on the loaded shared object.

• Unload the shared object.

An alternative solution would be to implement the COM specifications on Unix based systems.

However, due to the huge efforts needed such a venture would be a tedious and cost intensive project.

By considering COM objects as dynamic libraries or shared objects under UNIX based systems, porting Windows® CPP COM code which uses in-proc servers to such systems is advantageously simplified. Furthermore, the porting process can be sped up while the COM specifications do not have to be impleme...