Questions tagged [32bit-64bit]

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

2477 questions
995
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,122
  • 3
  • 12
  • 10
470
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,270
  • 3
  • 22
  • 32
291
votes
17 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,501
  • 5
  • 22
  • 25
268
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,326
  • 7
  • 30
  • 53
232
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,361
  • 2
  • 16
  • 9
206
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
  • 5,601
  • 6
  • 20
  • 27
199
votes
8 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
  • 14,831
  • 14
  • 55
  • 71
183
votes
8 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 I'm new to linux. How do I resolve this?
c11ada
  • 4,182
  • 14
  • 43
  • 62
147
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
  • 21,632
  • 19
  • 69
  • 85
146
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
  • 84,911
  • 94
  • 244
  • 345
142
votes
15 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,416
  • 3
  • 18
  • 26
134
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
  • 43,056
  • 20
  • 131
  • 184
128
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,947
  • 2
  • 19
  • 21
102
votes
7 answers

How to determine programmatically whether a particular process is 32-bit or 64-bit

How can my C# application check whether a particular application/process (note: not the current process) is running in 32-bit or 64-bit mode? For example, I might want to query a particular process by name, i.e, 'abc.exe', or based on the process…
satya
  • 2,397
  • 8
  • 31
  • 42
94
votes
8 answers

Why is long slower than int in x64 Java?

I'm running Windows 8.1 x64 with Java 7 update 45 x64 (no 32 bit Java installed) on a Surface Pro 2 tablet. The code below takes 1688ms when the type of i is a long and 109ms when i is an int. Why is long (a 64 bit type) an order of magnitude slower…
Techrocket9
  • 1,868
  • 2
  • 20
  • 30
1
2 3
99 100