LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2006, 02:09 AM   #1
gnraghu
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
Porting COM application to Linux


I have a COM server and a COM client that is written using ATL and I need to port these to Linux.
How to create a COM server and client in linux?
Or, Are there any equivalent technologies in linux to support the same?
Can anyone help me in this regard?
 
Old 10-05-2006, 10:55 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

You're asking the wrong question.

The fact that these two pieces happen to be written in ATL to use COM simply means that you can't recompile them and use them as-is on Linux. As you know, the ATL template library is exclusively a Microsoft product and, AFAIK, needs Visual Studio to write. As you also know, COM isn't just a protocol (IUnknown, AddRef (), Release(), etc etc). It also requires library support (CoCreateInstance (), etc) at build time, and extensive runtime support (the registry, for example) in order to execute.

In short, both ATL and COM are pretty non-portable outside of Windows.

Does that mean you give up?

No. You need to ask what this component *does*. The fact that it's ATL and COM are just *implementation details*. You need to understand the actual requirements.

And I'm sure you'll find a *wealth* of possible solutions to choose from under Linux.

Good luck .. PSM

PS:
As you also know, COM and ATL are themselves obsolete. Microsoft is actively telling everybody to re-write the world ... only this time, to do it in C# or VB.Net... Keep those MSDN subscription dollars rolling, folks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting the solaris application to Linux gracy_fg Linux - Newbie 1 02-14-2006 11:24 AM
porting Window Application to Linux sjcoder Programming 3 12-18-2005 04:48 PM
Porting Solaris Application to Linux CaptainRon Solaris / OpenSolaris 5 10-01-2005 02:29 AM
Porting win32 application into Linux sergeyy Linux - Software 1 06-23-2003 08:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration