EmkioA Posted December 6, 2010 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
whim Posted December 6, 2010 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
EmkioA Posted December 6, 2010 Author Posted December 6, 2010 Realy... I LOVE YOU! (i know we dont know each other) Thank you very much! EmkioA
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now