|
-
May 13th, 2004, 05:24 AM
#1
Finding Application Data folder
Hi,
I can use the SHGetSpecialFolderPath function to find a link to the current user's Application Data folder by passing CSIDL_APPDATA. However, I need a link to the Application Data folder in 'All Users', not the current user.
Is there a quick, easy way of getting this?
Is it perhaps just a matter of updating one of my header files since my Visual Studio was written for '98 when such a folder didn't exist.
Thanks for your help,
Jim
-
May 13th, 2004, 05:33 AM
#2
CSIDL_COMMON_APPDATA
Version 5.0. Application data for all users. A typical path is C:\Documents and Settings\All Users\Application Data.
-
May 13th, 2004, 06:55 AM
#3
Thanks. but in my version, there is no CSIDL_COMMON_APPDATA, only CSIDL_APPDATA. Where can I get the new header file or whatever it is I need?
Thanks.
-
May 13th, 2004, 06:58 AM
#4
Originally posted by Jim1981
Thanks. but in my version, there is no CSIDL_COMMON_APPDATA, only CSIDL_APPDATA. Where can I get the new header file or whatever it is I need?
Thanks.
platform SDK.. msdn.microsoft.com
Code:
#define CSIDL_COMMON_APPDATA 0x0023 // All Users\Application Data
-
May 13th, 2004, 06:59 AM
#5
-
May 13th, 2004, 07:48 AM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|