Opened 15 years ago

Closed 15 years ago

#940 closed Bug (No Bug)

CPUArch macro is returning wrong processor architecture

Reported by: ccarrera74@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


I have a Dell Latitude D620 laptop with a 32 bit processor. This was confirmed by the System Information app in Windows Vista:

System Manufacturer Dell Inc.
System Model Latitude D620
System Type X86-based PC
Processor Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz, 1667 Mhz, 2 Core(s), 2 Logical Processor(s)
BIOS Version/Date Dell Inc. A10, 5/16/2008

When I use the @CPUArch macro, it returns the processor type as X64 instead of X86.

The following one liner can recreate the problem:
MsgBox (1,"", "CPUArch = " & @CPUArch)

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

You have a 64-bit processor but you have a 32-bit OS. @CPUArch is returning the correct thing.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.