[futurebasic] Re: [FB] Cocoa replacement for Gestalt calls

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2012 : Group Archive : Group : All Groups

From: Max Taylor <maxclass@...>
Date: Tue, 10 Apr 2012 18:09:42 -0700
On Apr 10, 2012, at 16:06 PM, Brian S wrote:

> On Apr 10, 2012, at 10:48 AM, Deep wrote:
> 
>>> Is the any reason why we can't read file data directly into a CFString
>>> as per below?
>>> I haven't actually tried it. Unless there is some underlying carbon reason.
> 
> Why not read and write CFStrings directly and avoid pascal strings? Besides Bernie’s post, there are the demos at:
> 
> FB_5_7_2_Examples/CoreFoundation/CFAdditions/CFString Additions demo
> 
> that show how to do this.

That was the intent of my original post. I will check that out along with all the other great ideas posted.

Thanks to all.

Max
