Questions tagged [64-bit]

A 64-bit architecture is usually a system where addresses (pointers) are 64 bits wide. Sometimes, it can mean a system where the “natural” size for integer computations (the word size) is 64 bits.

The term 64-bit is used for architectures where the address bus and other data units, like the data bus or CPU registers, are 64 bits wide.

64-bit processor architectures include:

  • x86-64 , often known as AMD64, an evolution of 32-bit x86 PC processors by AMD and Intel, found in many server and desktop computers;
  • DEC Alpha, a now-discontinued architecture that was popular on workstations in the 1990s;
  • ppc64, a 64-bit evolution of the PowerPC/POWER processor;
  • SPARC v9 (Ultrasparc and sparc64), 64-bit evolutions of the Sparc architecture;
  • Itanium , also known as IA-64, an architecture by Intel that is not related to IA-32 (which is the name for later generations of x86 processors)
  • MIPS64 , a 64-bit version of the MIPS architecture;
  • ARMv8, an upcoming 64-bit version of the ARM architecture

In C and other languages such as C++ and Objective-C with a similar set of machine integer types including int, long and long long, implementations differ as to which types are 32-bit and which types are 64-bit. Windows follows a model called IL32P64: int and long are both 32-bit, long long (if available) and pointers are 64-bit. On the other hand, most Unix-like systems including Linux and Mac OS X follow the I32LP64 model: int is 32-bit, long and long long and pointers are 64-bit.

6082 questions
3
votes
2 answers

.NET Client Profile on x64

I know that the .NET Client profile does not target x64 or ia64. However I do not know what that means? There are two parts that it affects If I set my application to use the .NET Client Profile in VS, and it is run on x64 will it work? If I set…
Robert MacLean
  • 38,975
  • 25
  • 98
  • 152
3
votes
3 answers

Most efficient way to read UInt32 from any memory address?

What would be the most efficient way to read a UInt32 value from an arbitrary memory address in C++? (Assuming Windows x86 or Windows x64 architecture.) For example, consider having a byte pointer that points somewhere in memory to block that…
xxbbcc
  • 16,930
  • 5
  • 50
  • 83
3
votes
1 answer

"Class not registered" when using Microsoft.Web.Administration on Windows 7 after installing updates

A Windows 7 (64-bit) system runs the following code under Windows Azure Compute Emulator (SDK version 1.5) Site site = new ServerManager(); which yields the following exception: Retrieving the COM class factory for component with CLSID…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
3
votes
1 answer

Is it possible to have win32 and x64 versions of native DLL in one file?

Suppose I have some code written in C++. I can produce two DLLs from the code: win32 version and x64 version. Now I want to glue these two DLLs in one file and then load appropriate version in C# application compiled for AnyCPU. Is it possible? If…
Bobrovsky
  • 13,789
  • 19
  • 80
  • 130
3
votes
2 answers

Combining C and Assembly(32 bit code) on Linux 64 bit

I have a 64 bit Ubuntu Operating System and I have been learning 32 bit Assembly. I am trying to compile these two files: square.s: #square.s .section .text .globl sqr .type sqr, @function sqr: pushl %ebp movl %esp, %ebp movl 8(%ebp),…
Hudson Worden
  • 2,263
  • 8
  • 30
  • 45
3
votes
4 answers

PHP: Converting a 64bit integer to string

I'm trying to use a hardcoded 64bit integer in a string variable. Simplfied I want to do something like this: $i = 76561197961384956; $s = "i = $i"; Which should result in s being: i = 76561197961384956 This does obviously not work as PHP cast big…
Koraktor
  • 41,357
  • 10
  • 69
  • 99
3
votes
2 answers

Eclipse, compile a 32-bit project for 64-bit settings

I have been workin' on a Java project with Eclipse on my 32-bit Windows Xp pc. This project relates to another C++ project, developed with Visual Studio 2008, through Java Native Interface (JNI). Now I have moved my projects on a 64-bit Windows 7…
DavideChicco.it
  • 3,318
  • 13
  • 56
  • 84
3
votes
8 answers

IE6 on 64bit Windows 7

I am a beginner HTML/CSS coder and I have noticed that the most problematic browser is IE6. Now I want to install IE6 on my computer, to be able to perform live test, but when I try to install IE6 a notification appears saying that it's not possible…
Karine
  • 587
  • 1
  • 11
  • 24
3
votes
1 answer

OpenCV with xcode error: Undefined symbols for architecture x86_64:

I'm trying to install opencv and use it with xCode for making application in C++. I installed it using macports and follow many tutorials to do it. I have done the linking too in xcode but there is problems that some function dosen't work. it give…
Mujtaba Alboori
  • 395
  • 1
  • 7
  • 20
3
votes
1 answer

64 Bit application communicating with 32bit process

I have 32 bit application using 32 bit third party library. Now I have to make my application 64 bit , so that it can take advantage of 64 bit address space ( large memory ). Since I can not load 32bit library into 64bit application process, I am…
madhu
  • 497
  • 1
  • 6
  • 9
3
votes
2 answers

MVC3 app - getting "Could not load file or assembly 'System.Data.SQLite' or one of its dependencies."

The problem: I'm building a c# 4.0, MVC 3 based web app. I'm using SQLite as a database. When I start the app, I get this error: Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program…
Steve
  • 1,266
  • 16
  • 37
3
votes
2 answers

How can I adapt a 32-bit VB6 application to work with 64-bit Office?

I have an application developed in VB 6.0 and VBA that uses latest Office 32 bit version. But since this application is 32 bit, it does not run on systems where 64 bit Office versions are installed. What is the best strategy I have to adopt to port…
Siva
  • 170
  • 1
  • 3
  • 11
3
votes
3 answers

WIn64 memory mapped files and locking pages

I need to grab large amounts (4-8Gb) of data in realtime - without dropping any data. The old system could just about keep up with writing the data to a striped RAID array but the data has got bigger, faster than the disk have got faster (!) So I…
Martin Beckett
  • 94,801
  • 28
  • 188
  • 263
3
votes
1 answer

RegDBQueryKey cannot list keys for 32- and 64-bit keys at the same time

I have been facing a problem in InstallScript to get the list of registry keys for 32- and 64-bit installations. My machine is Windows Server 2008 64-bit. I can install the SQL Server 2008 32-bit version or 64-bit version on this machine. Now…
swd
  • 248
  • 1
  • 6
  • 17
3
votes
2 answers

Realloc x86 x86_64

I have a function void *srealloc(void * ptr , int size){ void *tmp = realloc(ptr , size); if(tmp == NULL){ fprintf(stderr,"realloc of %u bytes failed", size); exit(1); } return tmp; } My code that calls this runs…
LeeG
  • 265
  • 1
  • 4
  • 11