adik2dmax666 Posted August 12, 2010 Posted August 12, 2010 (edited) I created a youtube downloader which i compiled as x86 and x64. now i have youtubedownloader_x86.exe and youtubedownloader_x64.exe. I have this initialize script If @CPUArch = "x64" Then ShellExecute("youtubedownloader_x64.exe") Else ShellExecute("youtubedownloader_x86.exe") EndIf Im currently running on a x32 xp . meaning i should run the x86 app. Why does @CPUArch return "x64" but my os is a 32bit xp. all x64 app errors "not valid win32 app"... Edited August 12, 2010 by adik2dmax666 First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]
Justforfun Posted August 12, 2010 Posted August 12, 2010 Run this and see what it returns MsgBox(4096, "@CPUArch", @CPUArch)
FlyinRiz Posted August 12, 2010 Posted August 12, 2010 (edited) Im currently running on a x32 xp . meaning i should run the x86 app. Why does @CPUArch return "x64" but my os is a 32bit xp. all x64 app errors "not valid win32 app"... You can run a 32-bit OS on a 64-bit processor (AMD64 or Intel 64) but you can't run 64-bit apps on a 32-bit OS. Try @OSArch instead.-Aaron Edited August 12, 2010 by FlyinRiz
adik2dmax666 Posted August 12, 2010 Author Posted August 12, 2010 Run this and see what it returns MsgBox(4096, "@CPUArch", @CPUArch) MsgBox(4096, "@CPUArch", @CPUArch) Returns x64 weird isn't it? First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]
adik2dmax666 Posted August 12, 2010 Author Posted August 12, 2010 You can run a 32-bit OS on a 64-bit processor (AMD64 or Intel 64) but you can't run 64-bit apps on a 32-bit OS. Try @OSArch instead. -Aaron solved! MsgBox(4096, @OSArch, @OSArch) returns x86 First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]
Richard Robertson Posted August 12, 2010 Posted August 12, 2010 The difference between CPU and OS architecture is that the CPU will always be some set value. You can run a 32 bit OS on a 64 bit processor.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now