32bit-64bit Questions
14
Solved
I want to detect whether the current Windows OS is 32-bit or 64-bit. How to achieve it using C++? I don't want processor type I want OS's bit type. This is because you can install 32-bit OS on 64-b...
Refutation asked 10/8, 2011 at 12:53
2
Solved
Is it possible to determine whether Excel is running in 32-bit or 64-bit from the Microsoft.Office.Interop.Excel.ApplicationClass?
EditThe solution should work for both Excel 2010 and Excel 2007
And asked 31/5, 2011 at 12:28
3
Solved
The Windows operating system can be either 32 bit or 64 bit. The 64 bit version is called Windows x64 but the 32 bit version is called Windows x86. Why isn't it called Windows x32? What is th...
Affection asked 30/4, 2015 at 17:43
6
I just need to write a simple batch file just to run a vbscript. Both the vbscript and the batch file are in the same folder and is in the SysWOW64 directory as the vbscript can only be execute in ...
Looseleaf asked 10/8, 2012 at 10:24
9
Solved
I have just installed CentOS 6 64bit version, I'm trying to install a 32-bit application on a 64-bit machine and got this error:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
...
Grammarian asked 30/11, 2011 at 15:19
8
Solved
So I've been coding something on 32-bit and yesterday I needed to build a dll and I had a couple of problems with that. Anyway I solved them here.
Unfortunately even if I thought that everything w...
Tympan asked 9/3, 2012 at 16:28
16
Solved
I'm looking for a way to reliably determine whether C++ code is being compiled in 32 vs 64 bit. We've come up with what we think is a reasonable solution using macros, but was curious to know if pe...
Dodgem asked 1/10, 2009 at 18:17
3
Solved
I have just been given the task of updating a legacy application from 32-bit to 64-bit. While reviewing the extent of the task, I discovered the following definition immediately before the inclusio...
Depoliti asked 10/8, 2010 at 10:4
7
Solved
I am trying to run a 64 bit executable (java.exe) from our 32-bit .NET application. I am using Process class and invoking cmd /c <command name> in order to support all possible commands (like...
Ascham asked 5/1, 2010 at 1:28
6
Solved
As we all know from Android 5.0.64bit support is there. I have very simple question. Can we check programmatically in what mode any application is running i.e. 32bit or 64bit? For example: I have F...
Vermicide asked 25/11, 2014 at 7:46
4
Solved
In C++ there are predefined macros:
#if defined(_M_X64) || defined(__amd64__)
// Building for 64bit target
const unsigned long MaxGulpSize = 1048576 * 128;// megabyte = 1048576;
const unsigned l...
Tender asked 28/1, 2015 at 2:6
7
Solved
I have a win7 64bit installation. Must I use Python 64bit? What are the differences between the 32bit and 64bit Python versions anyway? Do different Python packages (such as south, django, mysqldb ...
Hydrokinetics asked 25/6, 2010 at 11:35
4
Solved
Trying a lot and just failing..
$x = 76561198005785475;
I want to this number, turn into this:
$y = 45519747;
That is the 32bit form of it.
Trying to explain with more details:
http://www...
Sylphid asked 27/7, 2012 at 16:17
4
Solved
I would like to offer a way that always builds my target as a 32-bit or always as 64-bit executable executable with cmake independent of the host system (Adding the "-m32" or "-m64" flag for gcc, n...
Palacio asked 30/6, 2015 at 21:35
5
Solved
I am currently using Windows on my default development system and Linux on my server where I deploy my Lua scripts. For Windows there are only several 32 bit interpreters like Lua for Windows one I...
Joyless asked 4/1, 2018 at 10:37
4
Solved
My development box is Windows 7 x64. I have both 32-bit and 64-bit versions of Qt 4.7.4 built on my box. When I configure my app to use the 32-bit version of Qt, it runs fine in Qt Creator (ctrl-R)...
Hageman asked 23/8, 2012 at 20:2
5
Solved
I need to run java in 32 bit mode under windows 8.1 64 bit.
I have installed java 7 jre under c:\Program Files\Java\jre7 (64bit JVM) and under c:\Program Files (x86)\Java\jre7 (32bit JVM).
However,...
Blowtube asked 3/6, 2014 at 7:46
5
Solved
Is there any C++ implementation of 64-bit Unix timestamp conversions for 32-bit systems? I need to convert struct tm to 64-bit integer and vice versa, including leap years, time zones, UTC. Also ne...
Ellsworthellwood asked 27/10, 2011 at 10:1
8
Solved
I'm running Windows 8.1 x64 with Java 7 update 45 x64 (no 32 bit Java installed) on a Surface Pro 2 tablet.
The code below takes 1688ms when the type of i is a long and 109ms when i is an int. Why...
Meed asked 7/11, 2013 at 18:41
4
Solved
The x86-64 instruction set adds more registers and other improvements to help streamline executable code. However, in many applications the increased pointer size is a burden. The extra, unused byt...
Borroff asked 10/2, 2012 at 19:4
1
Solved
I'm trying to compile a 32 bit assembly code(NASM) on my 64 bit Linux, but I can't, I have tried others tutorials about it and I installed ia32-libs...
When I try run it as:
gcc asm1.o -o asm1
...
Asphodel asked 10/3, 2014 at 7:7
9
Solved
A great programming resource, Bit Twiddling Hacks, proposes (here) the following method to compute log2 of a 32-bit integer:
#define LT(n) n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n
static con...
Amphibolite asked 7/7, 2012 at 15:33
2
Solved
I've successfully build several 32 bit, static and Shared, libraries on Linux x86_x64 and I'm now trying to link them together to an executable and I get the following error:
/usr/bin/ld: foo.so: ...
Contrition asked 24/1, 2017 at 16:48
17
Solved
How can I tell what mode the shell is in, from within the shell?
I've tried looking at the platform module, but it seems only to tell you about "the bit architecture and the linkage format use...
Omasum asked 10/9, 2009 at 15:14
1
Solved
I was using code that was working fine when I was running the 32-bit version of Excel. After I was switched to the 64-Bit version, the macro broke. I updated the dll calls to use LongPtr everywhere...
Kaiserdom asked 8/9, 2020 at 15:59
© 2022 - 2025 — McMap. All rights reserved.