Yes Mr Rashad, this code returns 64 bit on my win 7 64 bit system.RASHAD wrote:Hi doctorized
Sorry I do't have XP 64 bit for test
So please test the next snippet it is much shorter and clear (the SYSTEM_INFO structure is about( The Processor
Architecture not the running OS )
Happy new yearCode: Select all
#KEY_WOW64_64KEY=$100 KeyName.s = "Software\Wow6432Node" KeyHandle.l = 0 If RegOpenKeyEx_(#HKEY_LOCAL_MACHINE, @KeyName, 0,#KEY_READ|#KEY_WOW64_64KEY, @KeyHandle) = #ERROR_SUCCESS MessageRequester("Information","Running System is 64 bit", #MB_ICONINFORMATION) Else MessageRequester("Information","Running System is 32 bit", #MB_ICONINFORMATION) EndIf
Happy new year to you too, my friend
