Re: Standard OCIO Directories


Brendan Bolles <bre...@...>
 

On Apr 12, 2012, at 2:51 PM, László Sebő wrote:

TCHAR szPath[MAX_PATH];
SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA, NULL, 0, szPath);
wprintf(L"%s\n", szPath);

returning:
on win7: c:\ProgramData
on XP: c:\Documents and Settings\All Users\Application Data

Hmmm, since people will be often be installing these manually, we might not want to get too complicated. There's something to be said for a hard-coded path.

But then this does avoid the problem of using Program Files vs. Program Files (x86). I notice that Adobe actually puts ICC profiles in (x86) and has the 64-bit programs get them from there as well.


Brendan

Join ocio-dev@lists.aswf.io to automatically receive all group messages.