Opened on May 13, 2008 at 1:58:10 PM
Closed on Aug 3, 2008 at 4:30:18 PM
#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 , on May 13, 2008 at 2:00:18 PM
| Version: | 3.2.11.12 |
|---|
comment:2 by , on May 15, 2008 at 9:02:28 AM
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 , on May 15, 2008 at 9:15:59 AM
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 , on Jun 11, 2008 at 8:35:18 PM
| 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 , on Jun 12, 2008 at 8:27:23 AM
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 , on Jun 12, 2008 at 1:33:25 PM
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 , on Jun 12, 2008 at 4:25:34 PM
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 , on Jun 19, 2008 at 7:57:57 AM
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 , on Jun 19, 2008 at 4:51:02 PM
comment:11 by , on Jul 19, 2008 at 7:52:16 AM
comment:12 by , on Aug 3, 2008 at 4:30:18 PM
| Milestone: | → 3.2.13.7 |
|---|---|
| Owner: | changed from to |
| Resolution: | → Completed |
| Status: | accepted → closed |
Added in version: 3.2.13.7

Automatic ticket cleanup.