64bit

Converting byte-stream into numeric data-type

Let's say I have a byte-stream in which I know the location of a 64-bit value (a 64-bit nonce). The byte-order is Little-Endian. As PHP's integer data-type is limited to 32-bit (at least on 32-bit operating systems) how would I convert the byte-sequence into a PHP numeric representation (float would be sufficient I think)? $serverChalle...

Difference between SecuRemote (or SecureClient) and windows built-in VPN client?

So, I got a new laptop with oodles of everything, and chose vista 64 bit to actually use all my new ram for something. Now I realize that my companies usual VPN server is some Checkpoint server, and Checkpoint have not seen fit to build 64bit versions of their software. I know Windows come with a built-in vpn client, but to use it, I w...

Is there any advantage to building my .NET application with the 64 bit framework?

We use msbuild to build our .NET application on a server dedicated to builds. We are migrating to new hardware which has 64 bit Windows 2003. I can build the application using the 64 bit version of msbuild found in Framework64 or I can build it using the 32 bit verison found in Framework. Is there any advantage to building with the 64...

#ifdef for 32-bit platform

In an application I maintain, we've encountered a problem with file descriptor limitations affecting the stdlib. This problem only affects the 32-bit version of the standard lib. I have devised a fix for my code and would like to implement it, but only when compiling for 32-bit executable. What pre-processor symbol can I #ifdef for to d...

Problem running 32 bit apps on 64 bit Linux

I have a very minimal install of 64 bit Ubuntu 8.04. When I try to run some 32-bit programs, such as my "jhead" program, I get the message "No such file or directory" I figured it may be a library problem, but when I do ldd jhead instead of a list of libraries it needs, I just get the message "not a dynamic application". Same for ano...

Windows Scheme/Lisp Implementation

With the thousands of implementations of LISP and Scheme available I'm having a very hard time finding just the right one to use for Windows development. I learned these languages in school and found them to be very elegant, however, I don't seem to be able to find an implementation that would be suitable for developing code other than ...

.Net 1.1 C# Development on 64bit Vista with IIS 7.0 and Vs2003

Can this be made to work? - been having lots of issues setting it up: HttpHandlers not being seen even though .net 1.1 is installed and regiis -i working, worker processes crashing. Really need this for maintaining many old projects. Is there a specific order that things need to be installed in? ...

What would be the negative effects of installing a 32bit app into the C:\Program Files\ instead of the C:\Program Files(x86)\?

What would be the negative effects of installing a legacy 32bit app into the C:\Program Files instead of the C:\Program Files(x86) ? ...

Would you recommend 32-bit or 64-bit for Windows Vista?

I understand that 64-bit is the best. However, I've heard that there may be compatibility problem with 32-bit programs. Is this compatibility issue a major enough issue for me getting a 32-bit OS or is 64-bit Windows Vista still better, despite the compatibility issue? I will mostly be using this for development purposes, but I may snea...

In Java, is it safe to assume a certain size of the primitive types for bitwise operations?

Given Java's "write once, run anywhere" paradigm and the fact that the Java tutorials give explicit bit sizes for all the primitive data types without the slightest hint that this is dependent on anything, I would say that, yes, an int is always 32 bit. But are there any caveats? The language spec defines the value range, but says nothi...

Batch File Querying Registry in 64-Bit Vista

Hi guys me again :) I have a problem with a batch file I wrote. It works fine on 32-bit, but apparently it doesn't work on 64-bit systems, and I don't know why because I do not have access to a 64-bit system. This is the code that works on Vista 32-bit system @echo off Set Reg.Key=HKLM\SOFTWARE\Malwarebytes' Anti-Malware Set Reg....

.NET equivalent of size_t

I have a piece of .NET code which I want to port to 64-bit. The codes basically is a set of P/Invoke calls to some other C dll. One of the functions in the C dll has a parameter 'size_t'. What datatype should I use in my P/Invoke signature so that the marshalling works fine. I was thinking of using a IntPtr or a UIntPtr but some say that...

Get HDD (and NOT Volume) Serial Number on Vista Ultimate 64 bit

I was once looking for getting the HDD serial number without using WMI, and I found it. The code I found and posted on StackOverFlow.com works very well on 32 bit Windows, both XP and Vista. The trouble only begins when I try to get the serial number on 64 bit OSs (Vista Ultimate 64, specifically). The code returns String.Empty, or a Spa...

Java 32-bit vs 64-bit compatibility

Will Java code built and compiled against a 32-bit JDK into 32-bit byte code work in a 64-bit JVM? Or does a 64-bit JVM require 64-bit byte code? To give a little more detail, I have code that was working in a Solaris environment running a 32-bit JVM, but now I'm getting issues after upgrading the JDK and Weblogic Server to 64-bit. ...

WCF Self Hosted App on 64bit Windows Server

I have a windows application that acts as a WCF Service that I developed on a 32bit Windows Server 2008 box. I have tested the application and everything works fine when running it from my development machine, as well as from my 32bit workstation. However, when attempting to run the application on a 64bit Windows 2008 Server, the applica...

Memory handling by a 64bit Citrix server running instances of a 32bit app using WoW64

Can a 64bit Citrix server running a 32bit app through WoW64 handle just as many instances/users as the 32bit Citrix server equivalent? And if so if I up the memory in the 64bit server will the number of instances/users scale too? Or are there some strange memory considerations with a 64bit server running a 32bit app? ...

Is there any advantage for developing on a 64 bit OS?

Hi, I'm not sure I understand it properly: does a 64 bit OS run/compile code faster than a 32 bit OS on the same system? We're using 64 bit OSs where I am and it seems to only cause compatibility issues with legacy and proprietary software. (We're running Ubuntu 9.04 Jaunty amd64) ...

Roll 64-bit and 32-bit versions of an app into the same binary?

Hi, We have an application we're trying to deploy on both 64 bit and 32 bit platforms. Is there a way to put both compiled versions of the code in the same binary, a la Apple and NeXT's fat binaries? Ideally we could ship one .exe that decides upon execution which version of the code to execute. We're targeting Windows XP and later. ...

How do I detect which kind of JRE is installed -- 32bit vs. 64bit

During installation with an NSIS installer, I need to check which JRE (32bit vs 64bit) is installed on a system. I already know that I can check a system property "sun.arch.data.model", but this is Sun-specific. I'm wondering if there is a standard solution for this. ...

64 bit ntohl() in C++ ?

The man pages for htonl() seem to suggest that you can only use it for up to 32 bit values. (In reality, ntohl() is defined for unsigned long, which on my platform is 32 bits. I suppose if the unsigned long were 8 bytes, it would work for 64 bit ints). My problem is that I need to convert 64 bit integers (in my case, this is an unsigned...