Sample File location in Vista?
-
Hello, My install packages installed a set of sample input file that are shared among users. Normally, these are install in the application installed directory. In Vista, however, this became and issues since access to such folder is limited. Where is the proper location for installing sample files that all users can view? What is the typical ways of dealing with something like this? Thanks HL
-
Hello, My install packages installed a set of sample input file that are shared among users. Normally, these are install in the application installed directory. In Vista, however, this became and issues since access to such folder is limited. Where is the proper location for installing sample files that all users can view? What is the typical ways of dealing with something like this? Thanks HL
Use the
SHGetSpecialFolderPath()
api call with thenFolder
parameter set to either: For per user app data (e.g. C:\Documents and Settings\username\Application Data)CSIDL_APPDATA
or for app data common to all users (e.g. C:\Documents and Settings\All Users\Application Data)CSIDL_COMMON_APPDATA
regards,
Jonathan Wilkes Darka[Xanya.net]