32bit

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...

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...

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. ...

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? ...

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. ...

Loading 32bit DLL using Excel 2007 (Vista 64bit version)

I discovered that I can NOT load any 32-bit DLLs using my version of Office 2007. I’m using Vista 64bit and I assume that Office is also in 64-bit mode. Is it possible to start Excel in 32-bit mode Or Is there a way to declare a DLL using VB to load a 32-bit DLL? Since I don’t have the source code to some of the DLLs I am using, I can’t...

Connecting to Oracle with 32 bit apps running on Vista 64 bit

I am attempting to use a 32 bit application to talk to an Oracle database from Vista 64 bit (Embarcadero RapidSQL). I already have the Oracle 11g 64 bit client installed for the web apps I develop, but because RapidSQL is a 32 bit application, it requires a 32 bit version of the Oracle client. Is it safe to simply install the 32 bit Ora...

Compiling with DMD on 64bit Linux or Linking with 32bit object files

What is the best way to compile programs with DMD on a 64bit machine? It doesn't need to compile to 64Bit code. I know about GDC, but want to work with D2 also. There is also chroot, but am hoping for a simpler way. The actual problem isn't with compiling, but linking. DMD calls on GCC to perform linking with system libraries. Could I g...

Javascript squared

Using the javascript function function squareIt(number) { return number * number; } When given the number 4294967296 the function returns 18446744073709552000 is returned Everyone knows the real answer is 18446744073709551616 :-) I guess this is to to with rounding on my 32-bit machine. However, would this script give the right a...

64-bit vs. 32-bit performance on SPARC hardware with the 1.6 JVM

I'm doing performance tuning for our Tomcat cluster running on SPARC hardware. The 32-bit JVM gives us sufficient memory for now, but we are going to start using Terracotta for server striping so the extra memory the 64-bit JVM offers could be needed soon. In addition to a bigger memory footprint, moving to the 64-bit JVM on SPARC resul...

Why does BinaryReader.ReadUInt32() reverse the bit pattern?

I am trying to read a binary file with the BinaryReader class, and I need to read it in as blocks of UInt32, and then do some bit shifting etc. afterwords. But, for some reason bit order is reversed when I use the ReadUInt32 method. If I for example have a file where the first four bytes looks like this in hex, 0x12345678, they end up ...

how to make better use of the coding platform if 800MB out of 4GB RAM is not used?

My coding platform is a Vista machine with 4GB RAM. And while the machine is slick, I know there are 800MB of RAM that is not used at all. (only about 3.2GB or 4GB is used). can I installed something to help my platform for coding? I think Wubi will not be able to use those RAM, but VMware or VirtualPC might be? Or a RAM disk so tha...

Application hooking :: x64 system

Is there some kind of secret to hooking both 64bit & 32bit process on a 64bit system? In an application that I'm currently writing I need to be able to hook 64bit processes. Hooking 32bit processes works just fine on 64 & 32bit systems but, no messages are received when trying to hook 64bit applications. Before anyone tells me that I ...

Is there a way to detect if another process in vista is running in 32bit or 64bit mode?

I'm writing an application that interacts with other processes on a x64 Vista machine. In order to do this it will need to know if the other process is running in 32bit or 64bit mode. How can I detect this? ...

Memory use on 32 bit RHEL machine

I am using 32 bit RHEL 4.4 on AMD64 based hardware. Here is the output from uname -a $ uname -a Linux zulu 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686 athlon i386 GNU/Linux I have 8Gigs of memory installed on this system, OS being 32 bits I would assume that my system will not be able to make use of full 8GB memory. B...

32 bit application failed to run on x64 Win2003 due to

Here is my problem: I have developed an application which can be run on various platforms, including windows and unix. This app runs well on pure Win32 box (WinXP) or a pure Win64 (Win2K3 x64 edition) and other unix platforms. It only fails when running on a 64 bit Win2K3 in 32 bit mode. This app invokes a third party dll at the runti...

64bit vs 32bit ubuntu on low memory systems - why does ubuntu 64bit eat my ram?

Following a friends advice, I have just replaced a 64bit version of ubuntu with the 32bit version on my desktop. My desktop is a 2yr old dell with 1GB RAM. Suddenly, it seems like I am using almost 50% less RAM during my usual workflow. Could someone explain why this would be the case? Is it normal, or was my 64bit installation hosed?...

How to save data in a 32 bit binary file in matlab?

I have to test some "random numbers" generatied by a program in matlab, with diehard. it accept only 32 bit binary file, while if i save my data in matlab, they are saved in binary file with double precision (so 2*64=128 bit binary file). how can i take a 32 bit binary file in matlab, working on a 64 bit system? ...

Win32 API to tell whether a given binary (EXE or DLL) is x86, x64, or ia64

Hello, I am trying to find a programmatic way to tell if a binary is x86, x64, or ia64. Platform: Windows. Language: c/c++. Background: Before trying to load a third-party dll, I need to find out its bitness. Appreciate any pointers. ...