UpdateData(true);
CString str[12];
LPSYSTEM_INFO lpSystemInfo;
GetSystemInfo(lpSystemInfo);
str[0].Format(_T("%d"),lpSystemInfo->dwActiveProcessorMask);
//SetDlgItemText(IDC_STATIC_APM,str);
m_strApm = str[0] ;
str[1].Format(_T("%d"),lpSystemInfo->dwAllocationGranularity);
m_strAlloGra = str[1];
str[2].Format(_T("%d"),lpSystemInfo->dwNumberOfProcessors);
m_strNumPro = str[2];
str[3].Format(_T("%d"),lpSystemInfo->dwOemId);
m_strOemId = str[3];
str[4].Format(_T("%d"),lpSystemInfo->dwPageSize);
m_strPageSize = str[4];
str[5].Format(_T("%d"),lpSystemInfo->wProcessorArchitecture);
m_strPa = str[5];
str[6].Format(_T("%d"),lpSystemInfo->wProcessorLevel);
m_strProLevel = str[6];
str[7].Format(_T("%d"),lpSystemInfo->dwProcessorType);
m_strProType = str[7];
str[8].Format(_T("%d"),lpSystemInfo->wProcessorLevel);
m_strProRev = str[8];
UpdateData(false);