获取环境变量
摘要:
PTSTR pszValue = NULL;PCTSTR pszVariableName = TEXT("JAVA_HOME");// Get the size of the buffer that is required to store the valueDWORD dwResult = GetEnvironmentVariable(pszVariableName, pszValue, 0); if (dwResult != 0){// Allocate the buffer to store the environment variable value DWORD s 阅读全文
posted @ 2013-07-14 10:55 Sunny_NUAA 阅读(248) 评论(0) 推荐(0)
浙公网安备 33010602011771号