Re: COM on mac
Re: COM on mac
- Subject: Re: COM on mac
- From: Jeff Szuhay <email@hidden>
- Date: Mon, 13 Jan 2003 15:03:20 -0500
At 12:49 PM -0500 1/13/03, Gil Dror wrote:
I am wondering what technique is equivalent to COM in mac.
I asked this a while ago on a bunch of other lists. Here's the most
reasonable answer
I got back (from one of the authors of a very good Cocoa programming book, BTW)
From: "Erik M. Buck" <email@hidden>
Subject: Re: Objective C <--> COM comparison
It used to exist. NeXT provided D'OLE that was an Objective-C distributed
objects mixed with COM and DCom system. This is just one more technology
that Apple dropped and does not sell. NeXT used to brag that they sold
Distributed COM before Microsoft did. The feature was primarily used to
access Active-X controls and interface with applications like Word and Excel
from Openstep/Cocoa code. NeXT used to show a neat web application that
generated web pages by putting user entered numbers into Excel, calculating
loan rates and payment plans with Excel, copy the results into Word, add
pictures etc. and grab the result as HTML.
All of that said, COM exists to create "robust" interfaces between
DLLs/shared libraries and application code. COM provides a tiny bit of
versioning and a reference counting system similar to the one used in
Apple's libraries. DCom/Active-X provide a similar interface abstraction
technology that enables inter-process communication. None of the features
of COM are need in Objective-C due to the dynamism of the language. COM
addresses a need that does not exist for Cocoa/Objective-C applications and
therefore there is no direct porting guide that makes sense.
----- Original Message -----
To: <email@hidden>
Subject: Objective C <--> COM comparison
Does anybody know of a developer's technote or technical comparison
of the MS COM architecture and what's available in Objective-C/OS X?
A MS Windows COM --> OS X porting guide would be a truly wonderful thing.
>
--
Jeff Szuhay <
mailto:email@hidden>
Lead Macintosh Engineer voice: 412-271-5040 x 227
Psychology Software Tools <
http://www.pstnet.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.