Hi all,

I'm trying to get an install file in hybrid mode to detect 64bit mode
and if true, set the installer to 64bit mode using the following code;

Set Variable %_IS_64BIT% to FUNCTION:Get System Info(WOW64 Status)
If %_IS_64BIT% Equals "1" Then
Display Message Box "This is a 64bit machine" -- "64Bit"
Enable x64 Support
Display Message Box "Current 64bit status is %_SB_ERRORCODE%" --
"64bit Mode Status"
Else
Display Message Box " this is NOT 64bit" -- "NOT 64bit"
End


The %_IS_64BIT% gets set to 1 but the %_SB_ERRORCODE% will always have a
zero. Any ideas on what I'm missing.

BTW I've read through all the forum posts with 64bit and also the
manual. It seems to be a pretty straight forward function, but this old
dog can't get it figured out.

Thanks for any insight.

Cheers!
ken