On 22 Mar '08, at 1:19 PM, Marco Cassinerio wrote:
I've done what you said, but nothing changed. I get the same data content, like this:ImgR\362FBIL\346\326\303\331\376\247H+\222!\222C\303\351-+ \377\376\377\377\377\377\222!\221\302\221\301\2161\216amfile.icnsMacintosh HD>Developer/Applications/Xcode.app/Contents/ Resources/mfile.icns/\377\377
That's not base64. If I recall, you're looking at file aliases in a plist? In that case, what you have is an NSData object containing the raw data from an AliasHandle. You'll need to copy that into a handle, and use the CoreServices API <Aliases.h> to get an FSRef or path to the destination file. Actually, there are a couple of existing Cocoa wrappers for the Aliases API, and I'd recommend finding and using one of those instead, unless you're really familiar with Carbon concepts like handles and FSRefs.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]