dim as CFStringRef sortedName dim as Str255 PascalString PascalString = "Sorted " + name sortedName = fn CFStringCreateWithPascalString( 0, PascalString, _kCFStringEncodingMacRoman ) CFRelease ( sortedName ) On Nov 29, 2011, at 3:43 PM, Robert Covington wrote: > CFStrings drive me wonky, they are so much more a pain then Pascal type..because you can't work with them directly. > > dim as CFStringRef name > > fn CopyWindowTitleAsCFString( w, @name ) > > I need to add a 'Sorted ' + name to send to a Save As dialog... > > > How do you do that in CFString land? > > > -- > To unsubscribe, send ANY message to: futurebasic-unsubscribe@... > To access the list archives, go to: http://freegroups.net/groups/futurebasic/ >