I'm trying to work on carbon to cocoa. There are some carbon apis that about getting & setting value on clipboard. All of them are in C/C++ files.
I searched many answers in the internet and apple developer website, all of them had suggest me that NSPasteboard, I also wrapp cocoa api about it in .m file and invoke them in C/C++ file, it solve me much, but not all.
PutScrapFlavor, I failed to wrap it with cocoa. Any suggestions here?
On the other hands, I really want there are some core foundation api could be called in existing C/C++ files, anyone knows this? not NSPasteboard in cocoa.
Thanks in advance!
The clipboard/pasteboard is a UI concept, and the only supported UI toolkit is Cocoa. Whether or not you wish to use NSPasteboard, you have little choice in the matter.
Sorry.