From: Daniel Harple Date: 2006-08-14T23:42:25+09:00 Subject: Re: [MacOS X Ruby-ext] errors in include "CFURL.h" On Aug 14, 2006, at 10:20 AM, Une b�vue wrote: > from the printf(...) i know the error is certaiinly due to this line : > > CFURLRef url = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, > (CFStringRef)alias_path, 0, NO); What is the output from the printf statement? Try (CFStringRef)StringValuePtr(alias_path) or CFSTR(StringValuePtr (alias_path)). -- Daniel