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

  • Home
  • SEARCH
  • 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 8800789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:40:57+00:00 2026-06-14T00:40:57+00:00

Currently I am using: ManagementObjectSearcher searcher = new ManagementObjectSearcher(Select * FROM WIN32_Processor); ManagementObjectCollection mObject

  • 0

Currently I am using:

ManagementObjectSearcher searcher = 
                   new ManagementObjectSearcher("Select * FROM WIN32_Processor");
ManagementObjectCollection mObject = searcher.Get();

foreach (ManagementObject obj in mObject)
{
  var architecture = obj.GetPropertyValue("Architecture");
}

architecture = 0

This article shows that 0 means x86

The processor that the computer is running is intel core 2 duo E7500

OS is Windows XP 32 bit

CPU-Z shows

enter image description here

Is there a way to determine if a Windows XP computer has a processor that supports 64bit?

  • 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-14T00:40:58+00:00Added an answer on June 14, 2026 at 12:40 am

    It may not be ideal, but it’s relatively straightforward to create a (native) DLL using VC++ or the like and query the processor’s features directly. This method could then be PInvoked from your C# application.

    The following C++ method would return true when run on a 64 bit capable processor, and false on a 32 bit only processor (whether the OS is 32 or 64 bit):

    bool __declspec(naked) IsCPU64BitCapable()
    {
        __asm
        {
            // Save EBX since it's affected by CPUID
            push ebx
            // Determine whether the CPU supports retrieving extended feature data
            mov eax, 0x80000000
            cpuid
            cmp eax, 0x80000000
            // No extended data => no 64 bit
            jbe no_extended_data
            // Request extended feature data
            mov eax, 0x80000001
            cpuid
            // Bit 29 of EDX will now indicate whether the CPU is 64 bit capable
            mov eax, edx
            shr eax, 29
            and eax, 1
            jmp extended_data
        no_extended_data:
            xor eax,eax
        extended_data:
            // Restore EBX
            pop ebx
            ret
        }
    }
    

    This method can then be used from C# using:

    [DllImport("Test64Bit.dll")]
    private static extern bool IsCPU64BitCapable();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im currently using jQuery to build an Array like this: var arr = new
iam currently using NSURLConnection class to hit my server and get some data from
Im currently using the Barcode Scanner from the open source library Zxing in my
Im currently using PHP to fetch results from a mysql db. Im also displaying
Currently using a MySQL database Wanting to insert a new row into a table
Our team is currently using some ported code from an old architecture to a
Im currently using JSP and need to get the a cell in a table.
am currently using google feed api to get feed links dynamically. am trying to
Currently using: https://github.com/felixge/node-mysql I have the following code: var connection = mysql.createConnection({ host :
Currently using solrServer = new CommonsHttpSolrServer(serverUrl); and with these jars.. apache-solr-core-3.6.0 apache-solr-solrj-3.6.0 commons-codec-1.6 commons-httpclient-3.1

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.