Michael Clease
30-05-2007, 09:14
Not sure about the IS_WOW64 perhaps someone could explain?
USES "OS"
DIM sMsg AS STRING
sMsg += "Computer Name" & $TAB & OS_GetComputerName & $CRLF
sMsg += "OS System Folder " & $TAB & OS_GetSystemDir & $CRLF
sMsg += "Temperary Folder " & $TAB & OS_GetTempDir & $CRLF
sMsg += "Current User Name" & $TAB & OS_GetUserName & $CRLF
sMsg += "Windows Directory" & $TAB & OS_GetWindowsDir & $CRLF
sMsg += "IE Version" & $TAB & OS_IEVersion & $CRLF
sMsg += "Windows Version" & $TAB & OS_WinVersionText & $CRLF
sMSG += "Running" & $TAB & $TAB
' I'm runing 32 bit windows and it returned 0 so i guessed how it worked.
if OS_IsWow64 = 0 THEN SMsg += "32 bit Windows" & $CRLF
ELSE SMsg += "64 bit Windows" & $CRLF
ENDIF
MSGBOX 0, sMsg
USES "OS"
DIM sMsg AS STRING
sMsg += "Computer Name" & $TAB & OS_GetComputerName & $CRLF
sMsg += "OS System Folder " & $TAB & OS_GetSystemDir & $CRLF
sMsg += "Temperary Folder " & $TAB & OS_GetTempDir & $CRLF
sMsg += "Current User Name" & $TAB & OS_GetUserName & $CRLF
sMsg += "Windows Directory" & $TAB & OS_GetWindowsDir & $CRLF
sMsg += "IE Version" & $TAB & OS_IEVersion & $CRLF
sMsg += "Windows Version" & $TAB & OS_WinVersionText & $CRLF
sMSG += "Running" & $TAB & $TAB
' I'm runing 32 bit windows and it returned 0 so i guessed how it worked.
if OS_IsWow64 = 0 THEN SMsg += "32 bit Windows" & $CRLF
ELSE SMsg += "64 bit Windows" & $CRLF
ENDIF
MSGBOX 0, sMsg