How to Read Resource Fork Information in OS X 10.6

Asked 1 years ago, Updated 1 years ago, 68 views

The program currently under development will need to load the SoundDesigner2 file ".sd2".

In order to read the data written on the resource fork,
I used to use StringHandle GetString(short stringID) in TextUtils.h, but it has been Deprecated since 10.5.sdk.

If you look at the header file, you can see the following description, but I don't know how to use CFBundleCopyLocalizedString

*Deprecated:
 *    use CFBundleCopyLocalizedString installed.

Someone, how to use CFBundleCopyLocalizedString, or
If anyone knows how to load the resource fork in the .sd2 file, could you please let me know?

objective-c c++

2022-09-30 19:46

1 Answers

If you know the structure, use the SplitForks command to convert it into a data fork ("._" + file name) and load it normally?


2022-09-30 19:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.