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 6192653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:58:45+00:00 2026-05-24T02:58:45+00:00

My computer is change from 32 bits to 64 bits, and my operating system

  • 0

My computer is change from 32 bits to 64 bits, and my operating system is 64 bits Windows 7. I think the pointer in 64 bits operating system should be 64 bits — 8 bytes. However, when I use sizeof(void*) in C++ to get the size of a point, the result is 4.

Why 4??

  • 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-05-24T02:58:47+00:00Added an answer on May 24, 2026 at 2:58 am

    Your executable is still being compiled as a 32-bit binary. Try compiling it as a 64-bit project.

    The operating system makes no difference to the internal size of a pointer if the processor is emulating the program within a 32-bit environment…

    In VS2010, head over to the configuration manager, make a new entry under ‘platform’, and select x64 (usually it’s the only other option there)

    EDIT: Also, make sure you’re passing a void* to the sizeof() operator.

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

Sidebar

Related Questions

I'm now trapped by a performance optimization lab in the book Computer System from
I have commit my code on bitbucket from another computer and forgot to change
My computer at home is set up to automatically download some stuff from RSS
My computer is running behind proxy. I want to access url from JavaFX. for
In Objective c there is this computer generated .h files from coredata. I do
I have a response from remote server like this: /home/computer/Downloads |-- /home/computer/Downloads/Apple | `--
I have installed Windows7 on my computer, and I had to change all permissions/take
Yesterday I asked Are GUIDs generated on Windows 2003 safe to use as session
Is it possible to change the power-saving behaviour of a laptop computer on lid
Using Socket.IO's WebSocket I have successfully managed a chat application from my home computer

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.