Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8099097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:17:32+00:00 2026-06-05T22:17:32+00:00

The process is not running as WOW64, its running as x64 in an x64

  • 0

The process is not running as WOW64, its running as x64 in an x64 environment.
the code is as follows

    DWORD64 dwProcessAffinity, dwSystemAffinity;
    GetProcessAffinityMask(GetCurrentProcess(), &dwProcessAffinity, &dwSystemAffinity);

As confirmation IsWow64 is returning false. The environment created has the number of processors more than a hundred.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:17:33+00:00Added an answer on June 5, 2026 at 10:17 pm

    The return value of GetProcessAffinityMask is a BOOL, so if the call has returned TRUE, then the call has succeeded. There are two masks, one for the process affinity and another for the system affinity. Each bit in the mask corresponds to a processor. For example, the mask 0x10 means processor 4 and the mask 0x03 means processors 0 and 1. A mask of -1 (0xffffffffffffffff) has 64 bits set, one for each processor 0 through 63. By using a DWORD_PTR (and not a DWORD64), there was probably an attempt (by the original developers) to ensure later programmers view the result as a unsigned hex sequence and not as a signed integer, and furthermore this type results in sizing the mask appropriately (see next paragraph).

    When Windows 2003 was being developed, it was exceedingly rare to have a system of even 32 processors, so placing the limit of 32 (for 32-bit versions) and 64 (for 64-bit versions) was reasonable. Even in the 2008 timeframe, there were still debates about raising the processor limit for Windows 2008 R2, which now supports 256, but could go higher. Running Windows 2003 is using technology that is a decade old, so one can expect some limitations regarding what were new technologies at the time.

    Hyperthreading (HT) is an interesting technology. There is some benefit to adding the additional hardware to support another logical thread. Understand that for the OS, there is no distinguishing between the two logical processors, in that one cannot say X is the physical processor and Y is the HT “add-on”. The hardware treats X and Y as equal partners to the shared resources, and so the OS sees them equally.

    As the final uncertainty into your situation, I cannot tell you what subset of the 80 logical processors that Windows 2003 will be using. It might take 32 HT pairs or it might take the physical 40 and include 24 logical HT units. You could help answer that by running GetLogicalProcessorInformation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a timer that needs to not process its elapsed event handler at
My development environment at work is not sufficient to process ALL of the data
I should not display certain context menu options if one process is not running?.
The following process does not continue after running kill -SIGCONT pid from another terminal.
I'm made the following code to determine if a process is running: #!/bin/bash ps
How can I use Process.Start(), but have the launched process not in the same
What I'm trying to do is to start a process if not started. Here
If I kill the Socket Server process, my Socket client process does not receive
In the following link http://www.faqs.org/docs/Linux-HOWTO/NFS-HOWTO.html It said a process is not killable except by
Is there a way not to process fields with a display:none style ? The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.