Jump to content

[Solved]This is weird..


Recommended Posts

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"... :blink:

Edited 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]
Link to comment
Share on other sites

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"... :blink:

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 by FlyinRiz
Link to comment
Share on other sites

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]
Link to comment
Share on other sites

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 :blink:

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]
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...