Questions tagged [32bit-64bit]

Issues related to the use of a 64-bit vs a 32-bit architecture including portability issues.

2621 questions
57
votes
10 answers

What is the difference between a 32-bit and 64-bit processor?

I have been trying to read up on 32-bit and 64-bit processors (http://en.wikipedia.org/wiki/32-bit_processing). My understanding is that a 32-bit processor (like x86) has registers 32-bits wide. I'm not sure what that means. So it has special…
user485498
56
votes
5 answers

How to make Android's aapt and adb work on 64-bit Ubuntu without ia32-libs (works for versions 12, 13 and 14)

Since Ubuntu 13.10 no longer has ia32-libs I cannot get my android development environment running on a clean install of 13.10. The error is ~/android-studio/sdk/build-tools/android-4.2.2/aapt": error=2, No such file or directory This file does…
maiatoday
  • 795
  • 2
  • 7
  • 15
55
votes
4 answers

How can I know if R is running on 64 bits versus 32?

My version output is: > version _ platform x86_64-w64-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 …
maziar
  • 663
  • 1
  • 6
  • 8
53
votes
3 answers

Load 32-bit DLL library in 64-bit application

Is there a way to load a 32-bit DLL library (something with the same usage as LoadLibrary) I would like to use that function along with GetProcAddress. I looked at WOW, but it does not seem to offer the functionality. The functionality should exist,…
adk
  • 4,479
  • 9
  • 36
  • 38
53
votes
4 answers

Is it safe to use sys.platform=='win32' check on 64-bit Python?

The usual check to differentiate between running Python-application on Windows and on other OSes (Linux typically) is to use conditional: if sys.platform == 'win32': ... But I wonder is it safe to use today when 64-bit Python is more widely…
bialix
  • 20,053
  • 8
  • 46
  • 63
53
votes
4 answers

what is the performance impact of using int64_t instead of int32_t on 32-bit systems?

Our C++ library currently uses time_t for storing time values. I'm beginning to need sub-second precision in some places, so a larger data type will be necessary there anyway. Also, it might be useful to get around the Year-2038 problem in some…
oliver
  • 6,204
  • 9
  • 46
  • 50
52
votes
28 answers

Detect whether Office is 32bit or 64bit via the registry

Now that Office also comes in a 64bit install, where in the registry do you find out if the version of Office installed is 32bit or 64bit?
James Newton-King
  • 48,174
  • 24
  • 109
  • 130
51
votes
14 answers

Detect 32-bit or 64-bit of Windows

I want to detect whether the current Windows OS is 32-bit or 64-bit. How to achieve it using C++? I don't want processor type I want OS's bit type. This is because you can install 32-bit OS on 64-bit processor.
Rahul
  • 1,401
  • 4
  • 17
  • 33
46
votes
2 answers

What does the Python version line mean?

What does the line that's displayed when you start an instance of the Python interpreter mean? Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] on win32 So I know I have Python 2.7, but what about the rest? Especially…
Mark
  • 5,286
  • 5
  • 42
  • 73
46
votes
7 answers

MS Access DB Engine (32-bit) with Office 64-bit

We currently have a major issue using Microsoft Access Database Engine 2010. The engine comes in 64-bit and 32-bit forms, which is good. However, apparently you need to always install the 32-bit version if the host process is always 32-bit. Fine, we…
drharris
  • 11,194
  • 5
  • 43
  • 56
45
votes
10 answers

Range of values in C Int and Long 32 - 64 bits

I'm confused with range of values of Int variable in C. I know that a 32bits unsigned int have a range of: 0 to 65,535. So long has 0 to 4,294,967,295 This is fine in 32bits machine. But now in 64bits machines all thing keep the same? Or maybe my…
Custodio
  • 8,594
  • 15
  • 80
  • 115
41
votes
7 answers

How to start a 64-bit process from a 32-bit process

I am trying to run a 64 bit executable (java.exe) from our 32-bit .NET application. I am using Process class and invoking cmd /c in order to support all possible commands (like dir, cd etc). The problem is that on my machine I…
Igor Zevaka
  • 74,528
  • 26
  • 112
  • 128
40
votes
6 answers

How do I compile openSSL in 32 bit mode on a 64bit system?

I have a program that currently has to be compiled in 32 bit mode (for now) and needs to be linked against a version of openSSL with the experimental ciphers included. Therefore I need to compile a 32 bit openSSL. Using ./config -m32 results in…
Gary Barker
  • 1,609
  • 2
  • 15
  • 18
40
votes
3 answers

Can I control the architecture (32bit vs 64bit) when building a pyinstaller executable?

Short Question Is there any way to control / guarantee the architecture (32bit vs 64bit) when building a pyinstaller executable? Background I migrated from py2exe to pyinstaller because of the lack of 64bit support along with a host of small…
Adam Lewis
  • 7,017
  • 7
  • 44
  • 62
40
votes
4 answers

Should I define both _WIN32 and _WIN64 in 64bit build?

When we add a 64bit configuration from a 32bit project that has already existed, Visual Studio copies the 32bit configurations by default. VS even copies _WIN32 All my 64bit projects define also _WIN32 now, despite they(64bit PEs) never can run on…
Benjamin
  • 10,085
  • 19
  • 80
  • 130