Re: Framework to use for identifying and resolving Alias files
Re: Framework to use for identifying and resolving Alias files
- Subject: Re: Framework to use for identifying and resolving Alias files
- From: Jens Alfke <email@hidden>
- Date: Sun, 18 Oct 2009 11:53:00 -0700
On Oct 18, 2009, at 4:08 AM, rohan a wrote:
1. Using
#include<Carbon/Carbon.h>
-framework Carbon
2. Using
#include<CoreServices/CoreServices.h>
-framework CoreServices
Both methods work fine.
Which one should I be using ?
Well, look at the specific header that defines the API for aliases —
Aliases.h. It's in the CoreServices framework. Since CoreServices is
lower-level than Carbon, it's better to link against it directly and
avoid dragging in the rest of Carbon.
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden