Re: 'kASAppleScriptSuite' undeclared
Re: 'kASAppleScriptSuite' undeclared
- Subject: Re: 'kASAppleScriptSuite' undeclared
- From: "Finlay Dobbie" <email@hidden>
- Date: Mon, 1 Oct 2007 14:04:48 +0100
On 01/10/2007, Paul Bruneau <email@hidden> wrote:
> On Sep 30, 2007, at 8:16 PM, John Stiles wrote:
>
> > On Sep 30, 2007, at 1:35 PM, Paul Bruneau wrote:
> >
> >> On Sep 30, 2007, at 4:07 PM, Matt Neuburg wrote:
> >>
> >>> Why not just link against Carbon?
> >>
> >> Because those lines solved my problem, and I didn't need any other
> >> parts of Carbon, and besides I didn't know that linking against
> >> Carbon would solve it, and finally, I don't know how to link
> >> against Carbon.
> >
> > Typically, if you don't know how to do something, you'll get better
> > results if you ask instead of just trying things until something
> > seems to work ;)
>
> Well I asked Google and found that simple code and it worked, so in
> that case I don't bother the list :)
>
> But OK here's a question: Why aren't these important Applescript
> constants defined in Cocoa?
Because they're defined in Carbon? Not everything is defined in Cocoa.
There are lots of other frameworks in OS X. If you need to use stuff
in the headers, #include them. It's really very straightforward.
-- Finlay
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden