• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: COM programming in Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: COM programming in Mac


  • Subject: Re: COM programming in Mac
  • From: Scott Thompson <email@hidden>
  • Date: Tue, 21 Feb 2006 08:39:24 -0600


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.

Scott


_______________________________________________ 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
  • Follow-Ups:
    • Re: COM programming in Mac
      • From: "Shawn Erickson" <email@hidden>
    • RE: COM programming in Mac
      • From: "Kenny Millar" <email@hidden>
References: 
 >COM programming in Mac (From: "innovator information" <email@hidden>)

  • Prev by Date: Re: Sorting array of strings by string length
  • Next by Date: Re: Click = Toolbar Goes Blank!
  • Previous by thread: COM programming in Mac
  • Next by thread: RE: COM programming in Mac
  • Index(es):
    • Date
    • Thread