CString strCPUID; unsigned long s1, s2; __asm{ mov eax, 01h xor edx, edx cpuid mov s1, edx mov s2, eax } strCPUID.Format(_T("%08X%08X"), s1, s2); SetDlgItemText(IDC_STATIC,strCPUID);
参考https://blog.csdn.net/WU9797/article/details/81209531
原文地址:https://www.cnblogs.com/sinceret/p/11382105.html
时间: 2024-10-05 23:25:26