Re: COM programming in Mac
Re: COM programming in Mac
- Subject: Re: COM programming in Mac
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 21 Feb 2006 08:07:49 -0800
On 2/21/06, Scott Thompson <email@hidden> wrote:
>
> On Feb 21, 2006, at 6:58 AM, innovator information wrote:
>
> > Hello,
> >
> > How we can achieve COM programming in Mac.
> > IUnknown interface ...
> >
> > Regards,
> > Raj
>
> The first thing is don't COM is a wretched, horrible object model
> and can only lead you to heartache and grief. You would be much,
> MUCH better served by relying on the Objective-C runtime that is
> built into each and every Mac OS X system. At the very least you
> could avoid the fragile base class problem and insulate yourself from
> the potential compiler changes that makes revising an object
> interface in COM such a PITA.
>
> If you MUST do something COM-like on Mac OS X, you can read:
>
> <http://www.macdevcenter.com/pub/a/mac/2004/04/16/com_osx.html>
>
> But I can't guarantee that the functionality it describes will work.
Well aspects/parallels of COM are used for CFPlugin and for other
plugin types in Mac OS X (for example HID).
<http://developer.apple.com/documentation/CoreFoundation/Reference/CFPlugInRef/Reference/reference.html>
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden