EmkioA 0 Posted December 6, 2010 Hi, i have an code sample in C++ //Detect if long mode is available by checking bit 29 in EDX when calling //CPUID Extended Processor Info and Feature Bits. int results[4];//eax, ebx, ecx & edx BOOL 64bit; __cpuid(results,0x80000001); if(results[3]&29) 64bit=TRUE; else 64bit=FALSE; i have no idea how to convert it in AutoIT is it possible? TY EmkioA Share this post Link to post Share on other sites
whim 1 Posted December 6, 2010 There seems little point in converting this to AutoIt, because the devs created the @CPUArch macro: $64bit = False If @CPUArch = "X64" Then $64bit = True Share this post Link to post Share on other sites
EmkioA 0 Posted December 6, 2010 Realy... I LOVE YOU! (i know we dont know each other) Thank you very much! EmkioA Share this post Link to post Share on other sites
trancexx 1,013 Posted December 6, 2010 Luke, that's your father. ♡♡♡ . eMyvnE Share this post Link to post Share on other sites