{I+=codeWee;}
[c++] WinApi: How to get Program Files Folder Path
//ex 1)
TCHAR szProgramFilesFolderPath[MAX_PATH] = { 0, };
ExpandEnvironmentStrings(_T("%ProgramFiles%"), szProgramFilesFolderPath, MAX_PATH);



//ex 2)
TCHAR szProgramFilesFolderPath[MAX_PATH] = { 0, };
SHGetSpecialFolderPath(NULL, szProgramFilesFolderPath, CSIDL_PROGRAM_FILES, NULL);
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.