i code to get CPU ID by VC++, but when i paste it to Qtcreator then it cant run, can you help me convert it , thanks
Qt Code:
//_____________________ unsigned long getCPUID() { unsigned long CPU_ID; __asm { mov eax, 80000001h CPUID mov CPU_ID, edx }; return CPU_ID; }To copy to clipboard, switch view to plain text mode
Bookmarks