32bit

Build 32-bit with 64-bit llvm-gcc

I have a 64-bit version of llvm-gcc, but I want to be able to build both 32-bit and 64-bit binaries. Is there a flag for this? I tried passing -m32 (which works on the regular gcc), but I get an error message like this: [jay@andesite]$ llvm-gcc -m32 test.c -o test Warning: Generation of 64-bit code for a 32-bit processor requested. Warn...

Adding and Using Resources in a Windows Driver

Is it possible for a windows driver to have resources? If so how could I add them and more importantly access them? ...

Best Ubuntu setup for 32-bit *AND* 64-bit Qt app development?

I'm developing a qt-based application and i would like to develop both 32 and 64bit version of the application on the same machine, sharing the same sources, scripts, etc.. The machine is an Ubuntu Jaunty 64bit, Intel Core i7, 8gb ram. I'm aware that by running VMWare or VirtualBox could get things working, however it doesn't seem to be...

Dot net 2.0 application (Any CPU) running slow on 64bit os/processoer

Hi, My windows application is deveoped on .net 2.0 FW,and build using ANY CPU, development enviroment is 32bit OS + VS2005 Now i am deploying this application on 64bit processoer + 64bit OS it is running slow. But if i build using x86 (32bit) it is working fine without any issue on 64bit processoer + 64bit OS. I have 3rd pary comone...

How can I install a separate perl without disturbing the existing one?

How I should install 32-bit Perl on 64-bit machine without affecting the existing applications that uses 64-bit Perl? Is it possible to have a single application (Read: Single file) use different version of Perl for different tasks? ...

How do I make Boost build for i386 on OS X 10.6?

I've been battling with Boost to make it compile as only 32 bit on 10.6, rather than 64 bit. Is there an easy edit I can make to the darwin-specific bjam config file? Thanks, Jon ...

C# PInvoking user32.dll on a 64 bit system

Is it wrong to pinvoke user32.dll on 64 bit Windows, from a 64 bit app? I've done this successfully a number of times and never had an error, but it seems contradictory. Should I look for user64.dll instead? ...

Aquatic Prime on 10.6?

Hello, I have 2 applications that I use with Aquatic Prime. One is an application just with the Aquatic Prime framework, and the other is an application that I've been working on that has been incorporated with the Aquatic Prime framework. The first application I mentioned before has its SDK set to 10.5 with the architecture to 32-bit. ...

How should application perform in 64-bit vs. 32-bit intel architectures?

I want to know the relative performances of a normal C++ application in the following scenarios: Built as 32-bit app, run on Intel 64-bit processor (x64-64) Built as 32-bit app, run on Intel 32-bit processor (x86) Built as 64-bit app. Also, what factors should I consider when modifying / developing the application to make it to run f...

Numeric String (arbitrary size) -> Multiple Integers

I'm running into a problem because my database has BIGINT data (64-bit integers) but the version of PHP I'm running is only 32-bit. So when I pull out value from a table I end up with a numeric string representing a 64-bit integer in base 10. What I would ideally like to do is use the 64-bit integer as a bitmask. So I need to go to ei...

Installing Coldfusion 8 32 bit on a 64 bit machine - any problems?

Hi all We are planning to upgrade our test server and to do so we were planning on buying a 64 bit machine from Dell running Windows 2008 x64 Web edition. However, for now we would like to continue to use 32 bit Coldfusion 8. Is there anything to stop us doing this, or do we have to move to 64 bit Coldfusion 8? Has anyone had any p...

Creating 64-bit applications

If I have a 32-bit application written in C#, what do I need to do to convert it 64-bit? I'm assuming its more complicated then simply changing the target machine to 64-bit in Visual Studio and recompiling. ...

Running a web application 32/64 bit.

I have a windows web 2008 x64 installation running. Due to the requirement for the application having the ability to import Excel files, I have had to change the web application to run in 32bit mode. The MSAccess/Excel libraries are not available in x64. I have also had to elavate the application to run in trust=Full. Previously it w...

Does KEY_WOW64_64KEY have any effect on 32 bit Windows?

It appears that specifying the KEY_WOW64_64KEY flag (reference) when accessing a registry key under 32-bit Windows XP has no effect - that is, no error is thrown, and the key is opened as if you hadn't had the flag set. I know Windows 2000 throws an error when it encounters this flag. I want to make sure my app is compatible with as ma...

Adding 64 bit numbers using 32 bit arithmetic

How do we add two 64 bit numbers using 32 bit arithmetic?? ...

Unable to load assembly on XP 64bit

I have compiled a .Net application (using Any Cpu) option. This .Net application use Unmanaged dll ( Managed wrapper ) that encapsulated c++ calls. This .Net wrapper resides in GAC. When I run the .Net application it runs fine on XP 32 bit. But when I run on XP 64 bit , it fails and gives follwoing exception: Could not load file or as...

How to use more than 3 GB in a process on 32-bit PAE-enabled Linux app?

PAE (Physical Address Extension) was introduced in CPUs back in 1994. This allows a 32-bit processor to access 64 GB of memory instead of 4 GB. Linux kernels offer support for this starting with 2.3.23. Assume I am booting one of these kernels, and want to write an application in C that will access more than 3 GB of memory (why 3 GB? ...

32bit application access to 64bit registry

I have an OS Shell written in 32bit that is replacing the Explorer.exe of a Vista machine. I run a utility which is also written in 32bit, which allows to switch between the Explorer shell and My shell. With some of the machines being 64bit based I can not Alter the HKLM\Microsoft\current\shell Key (short formed reg key). I end up gettin...

visual basic 2008 32bit/64bit ?

can vb.net 2008 bet set to only run in 32bit? ...

How can I access 64 bit registry hive information from a application running in 32 bit mode on a 64 bit machine(WOW) using WMI through C#

I think the question really sums up what i'm trying to do. Here is the code that i'm using. It works in every scenario except if my application is running in 32 bit mode on a 64 bit machine. No matter how I play arround with the __ProviderArchitecture and __RequiredArchitecture flags, i can always only seem to access the 32 bit section o...