On Jan 4, 2009, at 5:33 PM, Deep wrote: > PasteboardRef > > I suspect I need to do something like: > > #define PasteboardRef as ... PasteboardRef looks like one of these polymorphic CF types that is derived from CFTypeRef ( which are defined as generic "pointers" in FB headers - for example in Tlbx CFBase.incl ). Since this definition ( and toolbox defs ) is undoubtedly defined in Carbon ( and therefore will be inherited by FBtoC/FB5 during compilation ), it would need a conditional compile for the #define such as: #if ndef _DEFINEDINCARBON #define PasteboardRef as CFTypeRef toolbox fn PasteboardCreate( CFStringRef inName, PasteboardRef *outPasteboard ) = OSStatus #endif PasteboardFlavorFlags is defined as an UInt32 in the Xcode docs, so make it so. The PasteboardItemID is apparently a void pointer but that doesn't look right for a ItemID. No time to look now. Maybe tomorrow. Brian S.