|
-
October 12th, 2007, 01:13 PM
#1
Problem retrieving ProgramFiles path
Hi everyone,
I am trying to get the programefiles path but without succes. I tried it with:
TCHAR localised_path[MAX_PATH];
SHGetFolderPath(NULL, localised_path, CSIDL_PROGRAM_FILES, 0);
but it said SHGetFolderPath and CSIDL_PROGRAM_FILES are undeclaired identifiers
also I tried it with
TCHAR localised_path[MAX_PATH];
SHGetSpecialFolderPath(NULL, localised_path, CSIDL_PROGRAM_FILES, 0);
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
|