Issues related to the use of a 64-bit vs a 32-bit architecture including portability issues.
Questions tagged [32bit-64bit]
2621 questions
1036
votes
44 answers
Can't start Eclipse - Java was started but returned exit code=13
I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago.
After first trying to start Eclipse without any parameters to specify the Java…

Ben E.
- 10,550
- 4
- 15
- 10
536
votes
17 answers
How do I determine if my python shell is executing in 32bit or 64bit?
How can I tell what mode the shell is in, from within the shell?
I've tried looking at the platform module, but it seems only to tell you about "the bit architecture and the linkage format used for the executable". My binary is compiled as 64bit…

jkp
- 78,960
- 28
- 103
- 104
475
votes
21 answers
How to determine whether a given Linux is 32 bit or 64 bit?
When I type uname -a, it gives the following output.
Linux mars 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:50:33 EDT 2008 i686 i686 i386 GNU/Linux
How can I know from this that the given OS is 32 or 64 bit?
This is useful when writing configure…

Swapnonil Mukherjee
- 2,312
- 5
- 22
- 32
305
votes
18 answers
Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154
I developed a Windows service using C#.NET to generate PDF report. To generate PDF file I am using a third party dll. The application is running in my Windows XP platform. When I deployed the service in Windows Server 2008 64 bit version, I got this…

gopal
- 3,681
- 5
- 24
- 25
283
votes
5 answers
How can I test a Windows DLL file to determine if it is 32 bit or 64 bit?
I'd like to write a test script or program that asserts that all DLL files in a given directory are of a particular build type.
I would use this as a sanity check at the end of a build process on an SDK to make sure that the 64-bit version hasn't…

morechilli
- 9,827
- 7
- 33
- 54
238
votes
5 answers
Why do 64-bit DLLs go to System32 and 32-bit DLLs to SysWoW64 on 64-bit Windows?
I would like to know when do we need to place a file under
C:\Windows\System32 or C:\Windows\SysWOW64, on a 64-bits windows system.
I had two DLL's, one for 32-bit, one for 64-bit.
Logically, I thought I'd place the 32-bit DLL under…

Ganesh Astroved
- 2,421
- 2
- 17
- 9
230
votes
21 answers
Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine
I created a windows application developed in .NET 3.5 in a 32 bit Windows 2008 server. When deployed the application in a 64 bit server it shows the error "Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine ".
So as a solution…

neo
- 6,131
- 6
- 22
- 27
224
votes
10 answers
Missing include "bits/c++config.h" when cross compiling 64 bit program on 32 bit in Ubuntu
I am running the 32bit version of Ubuntu 10.10 and trying to cross compile to a 64 bit target. Based on my research, I have installed the g++-multilib package.
The program is a very simple hello world:
#include
int main( int argc, char**…

Jesse Vogt
- 16,229
- 16
- 59
- 72
186
votes
9 answers
CentOS 64 bit bad ELF interpreter
I have just installed CentOS 6 64bit version, I'm trying to install a 32-bit application on a 64-bit machine and got this error:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
How do I resolve this?

c11ada
- 4,302
- 15
- 48
- 62
153
votes
16 answers
Determining 32 vs 64 bit in C++
I'm looking for a way to reliably determine whether C++ code is being compiled in 32 vs 64 bit. We've come up with what we think is a reasonable solution using macros, but was curious to know if people could think of cases where this might fail or…

Joe Corkery
- 2,564
- 3
- 18
- 26
149
votes
7 answers
Should I use Python 32bit or Python 64bit
I have a win7 64bit installation. Must I use Python 64bit? What are the differences between the 32bit and 64bit Python versions anyway? Do different Python packages (such as south, django, mysqldb etc) support only 32bit/64bit?

Jonathan Livni
- 101,334
- 104
- 266
- 359
148
votes
5 answers
How to find out if an installed Eclipse is 32 or 64 bit version?
How can I find out if a specific Eclipse instance on my (Windows 7) PC is the 32-bit or 64-bit version?
I've checked the About screen and the maze of dialogs one can call from there, but I didn't find any clues.
Also, right-clicking eclipse.exe in…

Rabarberski
- 23,854
- 21
- 74
- 96
140
votes
3 answers
NSLog/printf specifier for NSInteger?
A NSInteger is 32 bits on 32-bit platforms, and 64 bits on 64-bit platforms. Is there a NSLog specifier that always matches the size of NSInteger?
Setup
Xcode 3.2.5
llvm 1.6 compiler (this is important; gcc doesn't do…

Steven Fisher
- 44,462
- 20
- 138
- 192
129
votes
7 answers
Conditionally use 32/64 bit reference when building in Visual Studio
I have a project that builds in 32/64-bit and has corresponding 32/64-bit dependencies. I want to be able to switch configurations and have the correct reference used, but I don't know how to tell Visual Studio to use the architecture-appropriate…

Jonathan Yee
- 1,957
- 2
- 19
- 21
128
votes
2 answers
How do I detect if Python is running as a 64-bit application?
I'm doing some work with the Windows registry. Depending on whether Python is running as 32-bit or 64-bit, certain key values will be different. How can I detect whether Python is running as a 64-bit application or as a 32-bit application? (I'm not…

Nick Bolton
- 38,276
- 70
- 174
- 242