• 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: Carbon API with carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon API with carbon


  • Subject: Re: Carbon API with carbon
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 14 Jul 2002 13:12:11 +0200

Hell, Finlay, might you please at least *TRY* to read what was actually written, instead of inferring your own thoughs into other's messages?

The question, clearly and unequivocally cited in my message which you followed, read:

Just wondering if there is any problems with using any of the carbon API's from a Cocoa application.

Therefore...

Just wondering if there is any problems with using any of the carbon API's from a Cocoa application.
Short of polluting your sources by a quite ugly
Nathan Day referred to an Obj-C wrapper for Process Manager, so this argument is void.

...there was no question of using this or that ObjC wrapper, but of using *CARBON API*, repeat, *CARBON API*.

and non-portable code,

Cocoa code isn't really portable, so this argument is void.

With some care, it is. See GNUStep.

Even so, I'd rather have ugly, non-portable code than use such an ugly hack as loading myself into all Cocoa applications system-wide, or even than using AppleScript/AppleEvents to communicate with System Events.app.
If you cared to look at the Carbon Process Manager API (instead of breaking into a "Carbon sucks! AHH! RUN!" mode), you would see that it's actually quite self-explanatory and easy to use.

...and there was again absolutely no question (and thus *no* hint from my side either) of using anything remotely alike to process management and/or AppleScript and/or whatever similar to "loading myself into all Cocoa applications system-wide" (which, incidentally, is not an "ugly hack" the slightest bit, but that would be, as Kipling says, another story).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
  • Follow-Ups:
    • Re: Carbon API with carbon
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: Carbon API with carbon (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: how to hide/show/bring to front apps with Cocoa?
  • Next by Date: Strange NSInvocation behavior when passing pointers
  • Previous by thread: Re: Carbon API with carbon
  • Next by thread: Re: Carbon API with carbon
  • Index(es):
    • Date
    • Thread