TCHAR szOutBuf[MAX_PATH] = {0}; GetEnvironmentVariable( _T("ProgramFiles"), szOutBuf, MAX_PATH – 1 ); TCHAR szOutBuf2[MAX_PATH] = {0}; GetEnvironmentVariable( _T("ProgramFiles(x86)"), szOutBuf2, MAX_PATH – 1 ); TCHAR szSourcePath[MAX_PATH] = _T("%ProgramFiles%\Tencent\QQBrowser"); TCH