Opened 18 years ago
Closed 18 years ago
#277 closed Feature Request (Completed)
@ProcessorArch
| Reported by: | Jon | Owned by: | Valik |
|---|---|---|---|
| Milestone: | 3.2.13.7 | Component: | AutoIt |
| Version: | Severity: | None | |
| Keywords: | processor arch | Cc: |
Description
I think @ProcessorArch is badly named as it gives the OS architecture where is should give the CPU architecture.
Suggest we change it, and add an @OSArch macro as well.
Attachments (0)
Change History (12)
comment:1 by , 18 years ago
| Version: | 3.2.11.12 |
|---|
comment:2 by , 18 years ago
at the type I code this macro, I was thinking that the Windows API will return the real architecture. I have to admit that it is not working as I though.
So I don't know if we really need a processor arch but OS arch is Ok for me
@ProcessorArch -> @OSArch
comment:3 by , 18 years ago
just some addition http://msdn.microsoft.com/en-us/library/ms724958(VS.85).aspx
I really don't understand why the return info is wrong from my point of view (Windows Bug???)
follow-up: 5 comment:4 by , 18 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
I'm thinking of adding @OSArch to replace @ProcessorArch and then add a new @CPUArch for the CPU type (CPU instead of Processor to avoid subtle errors in old scripts).
comment:5 by , 18 years ago
Replying to Jon:
I'm thinking of adding @OSArch to replace @ProcessorArch and then add a new @CPUArch for the CPU type (CPU instead of Processor to avoid subtle errors in old scripts).
That's fine. I still don't understand the MSDN doc
follow-up: 9 comment:6 by , 18 years ago
Not quite sure why. The MSDN docs clearly say "The processor architecture of the installed operating system" and not the CPU type.
comment:7 by , 18 years ago
Seems like the only way to check for a x64 chip when running an x86 OS is using assembler. Not really in the mood for that one...
comment:9 by , 18 years ago
Replying to Jon:
Not quite sure why. The MSDN docs clearly say "The processor architecture of the installed operating system" and not the CPU type.
for me processor Architecture is equivalent to CPU Type according to the return Values possible. But well who knows ...
follow-up: 11 comment:10 by , 18 years ago
comment:12 by , 18 years ago
| Milestone: | → 3.2.13.7 |
|---|---|
| Owner: | changed from to |
| Resolution: | → Completed |
| Status: | accepted → closed |
Added in version: 3.2.13.7

Automatic ticket cleanup.