Jump to content

Search the Community

Showing results for tags 'x86 x64 macros different'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi. Some Autoit Macros return different values on X64 Win7 boxes, dependent on the target choosen upon compiling the script: x86 or x64. Target = x64 @AutoItExe = file01installtoolstestAI3-Test-Macros-x64.exe @OSArch = X64 @AutoItX64 = 1 @CommonFilesDir = C:Program FilesCommon Files @ProgramFilesDir = C:Program Files @SystemDir = C:\Windows\System32\ Target = x86 @AutoItExe = file01installtoolstestAI3-Test-Macros-x86.exe @OSArch = X64 @AutoItX64 = 0 @CommonFilesDir = C:Program Files (x86)Common Files @ProgramFilesDir = C:Program Files (x86) @SystemDir = C:WindowsSysWOW64 I'd like to get as well the "x64" values of these Autoit Macros for the Windows 7 64bit boxes, when using the compilation target = "x86". The background is simply, that few PCs don't have a x64 capable CPU, so the scripts have to run on both, x86 and x64 Win7. Hence I compile them as "target = x86", as this will run on both, x86 and x64 Win7 boxes. But on the Win7 boxes I need to get both, the "x86-macro-values" as well as the "x64-macro-values". One thing I could think of is to compile the script as <scriptname>.exe (x86) and a 2nd time as <scriptname>-x64.exe, and then call the one from the other, in case "@OSArch = X64". But I'd like to avoid to have to compile two versions of these scripts. Any other suggestions? Regards, Rudi. <edit> PS: I missed to mention, that trying to make use the Windows Environment Variables doesn't help here: e.g. envget("Programfiles") and envget("Programfiles(x86)") will *BOTH* return "c:Program files(x64)", when the target of the script is "x86". </edit>
×
×
  • Create New...