Sign in to follow this  
Followers 0
Kogmedia

x64 OS my first dll call (IsWow64)

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
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
Sign in to follow this  
Followers 0