Jump to content

x64 OS my first dll call (IsWow64)


Recommended Posts

Can someone test this for me I have tested on 32-bit, if someone could let me know if working on X64 it should give you a msgbox saying "OS 64"

$IsWow64 = DllCall("kernel32.dll","int","IsWow64")
Switch $IsWow64
    Case 0
        MsgBox(0,"OS","32")
    Case 1
        MsgBox(0,"OS","64")
EndSwitch

Thanks

Edited by Kogmedia
[font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search
Link to comment
Share on other sites

  • 2 months later...

Can someone test this for me I have tested on 32-bit, if someone could let me know if working on X64 it should give you a msgbox saying "OS 64"

$IsWow64 = DllCall("kernel32.dll","int","IsWow64")
Switch $IsWow64
    Case 0
        MsgBox(0,"OS","32")
    Case 1
        MsgBox(0,"OS","64")
EndSwitch

Thanks

It say I have a 32-bit but i have 64-bit, so it didnt work
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...