64bit

bitwise AND in Javascript with a 64 bit integer

I am looking for a way of performing a bitwise AND on a 64 bit integer in JavaScript. JavaScript will cast all of its double values into signed 32-bit integers to do the bitwise operations (details here). ...

What is the maximum value of an unsigned 64-bit integer in English?

What is the maximum value of an unsigned 64-bit integer in English? ...

Make this C# SwapBytes code x64 compatible

Hi, Here is a piece of code borrowed from the "Endogine" engine. It is supposed to swap the byte order of any byte array : unsafe protected void SwapBytes(byte* ptr, int nLength) { for(long i = 0; i < nLength / 2; ++i) { byte t = *(ptr + i); *(ptr + i) = *(ptr + nLength - i - 1); *(ptr + nLength - i - 1) = t;...

.NET 3.5SP1 64-bit memory model vs. 32-bit memory model

As I understand it, the .NET memory model on a 32-bit machine guarantees 32-bit word writes and reads to be atomic operations but does not provide this guarantee on 64-bit words. I have written a quick tool to demonstrate this effect on a Windows XP 32-bit OS and am getting results consistent with that memory model description. However,...

Will jdk/jre 5.0 64 bit download for windows AMD work with Windows x86?

I could not find a download link for 64 bit jdk/jre 5.0 for Windows x86. The download link says it is for Windows 64-bit AMD. We are moving to Windows 7 64-bit x86. I am looking for jdk/jre 5.0 64 bit download. Could someone help me with this? ...

Unable to generate temporary class in Windows 2008 R2 64 bit for C# app.

Hi, I have no clue whats going on here. My c# (VS2008) app runs fine in 32 bit OS but when i run the same in Windows 2008 R2 64bit i am getting following error: Unable to generate a temporary class (result=1). error CS0008: Unexpected error reading metadata from file 'c:\Windows\assembly\GAC_MSIL\xxxx\7.0.1001.0__5b72a65e64576834\xxxx....

Programming for a 32-bit environment vs programming for a 64-bit environment / Build configurations

I was looking at some same code (a sample MS Visual Studio C++ project) recently with multiple build configurations (Release/Debug, Win32/x64). My question: What is the difference? I guess I understand Release/Debug (Release = finalized version of project, Debug = version used to run in debugger), but what things need to be considered w...

64-bit Windows CE 5.0 Emulator

When attempting to run the Windows CE 5.0 emulator on my 64-bit system, I get the following error: "Emulator for Windows CE is incompatible with the host operating system. Emulator for CE will not run on 64-bit host operating systems.64-bit host operating systems." How can I run the Windows CE 5.0 Emulator under 64-bit Windows...

What are the best JVM settings for Eclipse on windows 7 64 bit?

What's the best settings for Eclipse 3.5.2 on Windows 7 64 bit? I've read What are the best JVM settings for Eclipse?, but nowhere 64 bit system was mentioned. Eclipse 3.5.2 runs pretty slow on my 8GB windows 7 64 bit box. Thanks in advance! David ...

How to get a 64 bit dll with c source file, def file, link file by using command line in vc 6.0

Hi, all My compile environment is windows xp and vc 6.0. Now I have a c source file(msgRout.c), def file(msgRout.def), link file(msgRout.link), then I use commands below to get a 32 bit dll: 1.cl /I ../include -c -W3 -Gs- -Z7 -Od -nologo -LD -D_X86_=1 -DWIN32 -D_WIN32 -D_MT -D_DLL msgRout.c 2.lib -out:msgRout.lib -def:msgRout.def -ma...

Is there any "standard" htonl-like function for 64 bits integers in C++ ?

Hi, I'm working on an implementation of the memcache protocol which, at some points, uses 64 bits integer values. These values must be stored in "network byte order". I wish there was some uint64_t htonll(uint64_t value) function to do the change, but unfortunately, if it exist, I couldn't find it. So I have 1 or 2 questions: Is the...

Building 64bit Qt on 32bit Xp computer

I'm trying to build Qt in a shared 64 bit mode on my 32bit XP system. I can configure the QMake and start the 64bit build. The problem is that when the build starts, the first thing that happens in that the process builds ui, moc and rcc utility compilers in 64 bit mode, then tries to run them on my 32bit machine. Does anyone know h...

CreateThread() fails on 64 bit Windows, works on 32 bit Windows. Why?

Operating System: Windows XP 64 bit, SP2. I have an unusual problem. I am porting some code from 32 bit to 64 bit. The 32 bit code works just fine. But when I call CreateThread() for the 64 bit version the call fails. I have three places where this fails. 2 call CreateThread(). 1 calls beginthreadex() which calls CreateThread(). All th...

Have you had DLL's fail after upgrading to 64 bit server?

Hey All, I'm wondering if anyone else has experienced failed DLL's after upgrading their servers. My company is in the process of upgrading our code and server's after ten years of using classic ASP. We've set up our new server running Windows 2008 and IIS 7. Our classic ASP code and our new asp.net mvc code work pretty well. Our prob...

OS X Audio Queues in a 64-bit Environment Issues

I've recently ported my entire application to 64-bit and everything is working fine except for my audio recorder. Even though the correct parameters (such as sample rate) are being reported when I check the resulting file's information in Quicktime, the file either has consistent gaps, is playing at a much higher speed, or is playing at...

How to treat 64-bit words on a CUDA device?

Hi, I'd like to handle directly 64-bit words on the CUDA platform (eg. uint64_t vars). I understand, however, that addressing space, registers and the SP architecture are all 32-bit based. I actually found this to work correctly (on my CUDA cc1.1 card): __global__ void test64Kernel( uint64_t *word ) { (*word) <<= 56; } but I don'...

Access, ADO & 64-bit

We have a large codebase that uses ADO under 32-bit, and we need to convert the code to 64-bit. We were using the Jet provider, but I know this is not supported under x64. We're importing definitions from msado15.dll. As of a while ago a 64-bit version of this DLL became available, but we are unable to get it to work. I have written...

VS build - 32 bit vs 64

ASP.NET 4.0: My laptop is running 64-bit Win7 Ultimate, using VS 2010 and IIS7. My dev, staging and production servers are all 32-bit 2003 Server with IIS6 (obviously). Questions: I know this is really unsupported, but is there any way I can get IIS6 to run on my laptop under Win7? It'd be nice to keep the configuration consistent b...

Can I connect to a 64 bit mysql server from a 32 bit machine with 32 bit mysql client lib?

Can I connect to a 64 bit mysql server from a 32 bit machine with 32 bit mysql client lib? I mean the server is 64 bit version and running on an 64 bit machine and the client app is running on an 32 bit machine with the 32 bit mysql client lib. Is that OK? Or it will cause some problems? I don't have two machine so I can't do the test...

Problem with "make & make install" software on linux

I have worked on Linux for a year. One thing bothers me is that I am not familar with the process of installing new software with source code(I can't install them from netword due to environment limitations). I was often blocked with different kinds of error, for example: ------------------------ libtool: install: error: relink `Magick...