Questions tagged [32bit-64bit]

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

2477 questions
1
vote
1 answer

Compiling mod_wsgi on 64 bit linux containing 32-bit python interpreter

I am facing problems when i am trying to compile mod_wsgi on my linux system(64-bit) containing 32-bit python interpreter. When i run: ./configure --with-apxs=/x/home16/eveljee/httpd-2.4.4/bin/apxs…
Ejaz
  • 11
  • 1
1
vote
2 answers

GLEW 1.9.0 builds a 64-bit .so even with m32 argument?

I've been trying to compile a 32-bit shared library of GLEW-1.9.0 under a 64-bit RedHat 4 machine, but it seems no matter what I try, the shared library it produces is 64-bit (this is determined using "file libGLEW*" in the output directory). It…
Miles
  • 1,784
  • 1
  • 19
  • 34
1
vote
1 answer

How can I analize Assembly file to get its corflags?

I need to write code that reads the corflags of a .net assembly without loading it through reflection. It takes relativly long time to load an assembly so I am looking for something that will open it as a stream and analize the binary stream. Where…
Saar
  • 1,553
  • 6
  • 19
  • 31
1
vote
1 answer

Porting Legacy code to 64 Bit in C++

I am trying to port a legacy 32 bit code to 64 bit. In that we have a union like this: union ptType { int * iPtr; short * sPtr; long * lPtr; bool * bPtr; double * dPtr; }; As you can guess, this union is used to store addresses…
naveen
  • 233
  • 1
  • 2
  • 11
1
vote
1 answer

32 Bit Access and 32 Bit Java

I have 32 bit Java Installed with 32 Bit Netbeans (64 Bit Laptop) and have Office Access 2007 32 Bit. I am getting a problem when I am trying to connect a database to my java project. java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data…
1
vote
1 answer

What is the most efficient cross-process communication method for IIS web services

We have a set of (ASMX but could be WCF) 64-bit web services which need to execute some 32-bit managed code (the APIs have 32-bit COM dependencies and cannot be executed in 64-bit) for processing on the same physical machine. The 64-bit web services…
Philipp Schmid
  • 5,636
  • 5
  • 41
  • 61
1
vote
0 answers

CMakeLists.txt that covers 32-bit Linux, 64-bit Linux and 32-bit Windows

How do I make a C++ CMake project that works in this way? All build intermediate products and binaries will be separated into 2 folders, one for 32-bit and the other for 64-bit. The names of the binaries will be the same for 32-bit and 64-bit. If…
ruben2020
  • 1,568
  • 13
  • 24
1
vote
1 answer

Build allegro 5 for Windows XP

I've spent all day looking for answers. I haven't found one that works, so im posting a question and asking the great stackoverflow. I have an allegro 5 application that needs to run on a windows xp 32bit machine. Ive made this application in VS…
1
vote
1 answer

Build 32 bit OpenCV on a 64 bit platform

I am trying to run a pre-compiled program on my Ubuntu 64 bit system: $ ./segmentObjs ./segmentObjs: error while loading shared libraries: libopencv_core.so.2.3: wrong ELF class: ELFCLASS64 I suspect this means that the program is looking for…
Bill Cheatham
  • 9,885
  • 15
  • 63
  • 100
1
vote
2 answers

What Is the difference between how the char datatype is stored or represented in 32bit vs 64bit in C?

What Is the difference between how the char datatype is stored or represented in 32bit vs 64bit in C?
pxl
  • 1,289
  • 10
  • 16
1
vote
3 answers

Corflags.exe cf001 Could not open file for wiriting

I am trying to edit the corflags file so that I can run 32bit applications on a 64 bit pc but everytime I try to edit the file using something like corflags.exe assembly /32bit+ it comes up with the error message cf001 could not open file for…
user2127063
  • 19
  • 1
  • 3
1
vote
1 answer

Maximum heap size for JVM on a 32-bit and 64-bit windows server

I have a third party application that was installed on my Windows Server 2008 and came with a JRE. The server is a 64-bit machine, but when I try to adjust the heap size past about 1.5 GB, the JVM errors out. I have found this article: Understanding…
cdub
  • 21,144
  • 49
  • 157
  • 274
1
vote
1 answer

Matlab Engine Problems

I'm trying to run the basic Matlab enginedemo.cpp in VS2010 on Windows 7 and no matter what I do the code: `if (!(ep = engOpen(""))) { fprintf(stderr, "\nCan't start MATLAB engine\n"); return EXIT_FAILURE; }` Always errors. I had both…
Neppinger
  • 138
  • 2
  • 16
1
vote
2 answers

32-bit Fortran on 64-bit Server

I have a 32-bit Fortran application that I need to run on a 64-bit ubuntu server. I have verified the application on a 32-bit ubuntu machine and it runs fine; however, I get the following error when I run in on the 64-bit server: error while loading…
nodapic
  • 305
  • 1
  • 4
  • 11
1
vote
1 answer

Modelling C/C++ unions in C#

I have the task of modelling the following struct in C#: typedef struct _SHELLEXECUTEINFO { DWORD cbSize; ULONG fMask; HWND hwnd; LPCTSTR lpVerb; LPCTSTR lpFile; LPCTSTR lpParameters; LPCTSTR lpDirectory; int …
Matthew Layton
  • 32,574
  • 37
  • 140
  • 255
1 2 3
99
100