Re: Carbon API with carbon
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.