[SOLVED] Uniface 32bit or 64bit
Author: gianni.sandigliano@unifacesolutions.com (gianni)
$about => NO /who => NO Is there a way to know if Uniface runtime in use is 32bit or 64bit ? Thanks for any hint... Gianni
Author: gianni.sandigliano@unifacesolutions.com (gianni)
$about => NO /who => NO Is there a way to know if Uniface runtime in use is 32bit or 64bit ? Thanks for any hint... Gianni
Author: gianni.sandigliano@unifacesolutions.com (gianni)
$about => NO /who => NO Is there a way to know if Uniface runtime in use is 32bit or 64bit ? Thanks for any hint... Gianni
Hi, I think you can use $setting to work this out. On 32 bit Uniface (even on 64 bit operating system) $setting("","PROCESSOR_ARCHITECTURE","ENVDATA") will return "x86" However, on 64 bit Uniface $setting("","PROCESSOR_ARCHITECTURE","ENVDATA") will return "AMD64" Regards, Mark
Author: gianni.sandigliano@unifacesolutions.com (gianni)
$about => NO /who => NO Is there a way to know if Uniface runtime in use is 32bit or 64bit ? Thanks for any hint... Gianni
Hello, you can detect it from environment variables PROCESSOR_ARCHITECTURE and PROCESSOR_ARCHITEW6432. We use this to detect 32bit on 32bit ... or ... 32bit on 64bit ... or ... 64bit on 64bit. In Uniface, you use $setting("", "PROCESSOR_ARCHITEW6432", "ENVDATA") and $setting("", "PROCESSOR_ARCHITECTURE", "ENVDATA"). Some basic info can be found here https://blogs.msdn.microsoft.com/david.wang/2006/03/27/howto-detect-process-bitness/ or try to Google of course. Hope this helps, Zdeněk Socha
Author: gianni.sandigliano@unifacesolutions.com (gianni)
$about => NO /who => NO Is there a way to know if Uniface runtime in use is 32bit or 64bit ? Thanks for any hint... Gianni
Thanks Mark and Zdenek! This thread can be marked as SOLVED (for Windows platform)! Gianni
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.