Get path to user preference folder, problem solved!
Get path to user preference folder, problem solved!
- Subject: Get path to user preference folder, problem solved!
- From: Daniel Aarno <email@hidden>
- Date: Sat, 15 Feb 2003 23:41:56 +0100
Saturdayen den 15 February 2003 kl 19.36 skrev
email@hidden:
This should do it:
...
err = FSFindFolder(domain, folderType, false, &folder);
...
Yes, the FSFindFolder() was what i was looking for, however I was
looking through the FileManager reference where the "old" FindFolder
function was described (I think) but I turns out FSFindFolder was
located in the FolderManager (of which I was not aware).
Still I find it a bit strange that there is not a higher level API for
doing this kind of things, at least it should be a part of CF so as to
remove the need for Carbon, but this is only my thoughts.
Thanks for your help, all of you.
/Bishop
--
"Windows is like Mac OS in the same way that a transvestite is like a
real woman. It's 95 percent the same, and actually what some would
prefer, but not really the same for those who care about small
differences." - Silicon Spin host John Dvorak
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.