32bit-64bit

Should I install 32-bit database or 64-bit database?

(I've read a lot about 64-bit versus 32-bit OS/Apps, but this question is specifically in regards to databases.) I'm trying to understand the pros and cons of 32-bit versus 64-bit databases, and namely, under what conditions that it starts to make sense to use 64-bit installations. The database systems that I am interested in are: SQL ...

Differences between compiling for i386 vs x86_64 in Xcode?

What are the differences between compiling a Mac app in Xcode with the Active Architecture set to i386 vs x86_64 (chosen in the drop down at the top left of the main window)? In the Build settings for the project, the Architecture options are Standard (32/64-bit Universal), 32-bit Universal, and 64-bit Intel. Practically, what do these m...

architecture of loaded framework

My application is linked with one system framework. The framework architecture is 32/64 bit standard Universal. The architecture of my application is also the same. 1.First I run My application in 64 bit architecture so it will load the framework with 64 bit architecture. 2.Next I run the My application in 32 bit architecture . Que...

What is the best way to support multiple architectures in a mixed managed/unmanaged environment?

Background We have a .NET library that is referencing one of our unmanaged dlls, lets say: DotNet.dll Unmanaged.dll Thus far, Unmanaged.dll is only 32-bit, so the DotNet.dll is marked with 32-bit CPU type. 64-bit support needs to be added. How to organize the dlls? IL code of DotNet.dll will be the same for both 32-bit and 64-bit ...

How to tell if app is running in 32-bit or 64-bit mode ?

Hi, I have a C# project with target platform set to "Any CPU". As I understand, the app will be compiled from MSIL to 32-bit on regular Windows (x86) and 64-bit for 64-bit Windows. Is it possible to show at runtime what mode it is running in ? Thanks in advance. pika81 ...

packing binary string in NodeJS under 32 bit produces incorrect results

I am using the following "pack" function provided by the excellent php.js project. http://github.com/kvz/phpjs/blob/master/functions/misc/pack.js Running this in Mozilla's JavaScript shell it works fine, but running it in Node produces incorrect strings. example, packing the number 2 as a Double with: pack('d',2); JS Shell produces: ...

How can I control the size and position of a new process Window from a WinForms app?

My WinForms app uses Process.Start() to open files in their native app. I want to split the screen in half, showing my WinForms app on one half and the new process on the other. I know I can use Process.MainWindowHandle to get the window handle, but how can I set its size and position? I imagine I have have to use some kind of Windows ...

Assembly becoming 32bit specific when built in release rather than debug in VS2008

Hi All, I am having a strange issue when building assembly's for one of my modules. I was getting errors when running on 64bit which I traced back to being related to the assembly being 32bit specific. Our modules are(or should) all be built to be bit agnostic. Running CorFlags.exe on the assembly showed the following. Version : ...

File Access takes me to command prompt rather than Explorer

Hi All, Whenever I go to my command prompt and type a "c:\temp" or any other file/directory, it takes me to the command prompt rather than the file explorer. Can somebody please tell me how I can fix this so that all file/directory access from cmd takes me to the file explorer. I have a Win2k3 64bit machine. Has this got a...

Unexpected JVM behaviour on 64bit linux

Hi, i tried to compare my java web app behaviour on 32 bit windows and 64 bit linux. When i view the memory usage via jconsole i find very different graph of memory usage. On windows the appl never touches 512m. However when i run on linux 64bit with 64 bit VM the memory keeps invcreasing gradually and reaches peak value about1000m ver...

Extend the witdh of base address in 386 segment selector to excess the 4GB RAM limit in 32-bit OS?

As the memory requirement grows fast, today more and more system requires 64-bit machines to access even larger RAM. FWIK in 386 protected mode, a memory pointer consists of two part: the base address (32-bit) specified by a segment selector, and the offset address (32-bit) added to the base address. To re-compile all programs in 64-...

Visual Studio equivalent of Unix 'file' command

I'm new to Windows programming, and I'm looking for an equivalent of the Unix 'file' command that I can run on compiled objects (including .lib files and executables) to discover with what bitness they were compiled. For example, on my Mac I can run: file /usr/bin/python /usr/bin/python: Mach-O universal binary with 3 architect...

one project with multiple build configurations in VS2010?

I have a c# windows application project. I want to build two .exe files, one is run as 64bit on 64 bit OS (by platform targeting 'Any CPU'), the other is run as 32 bit on 64 bit OS (by platform targeting x86). Currently, I should change my build configuration whenever i need the other configuration, and rename the compiled file to disti...

Java programing for 64 bit JVM

Few Questions :): How to identify what JVM is currently installed ? (64 bit / 32 bit) Do I need to do some considerations while programming for 64 bit JVM target Platform ? Can my Java code work on 32 bit as well as 64 bit JVM ? How to run my Java App on 64 bit JVM ? How to identify what JVM is being used for my Java App ? ...

POINTER_32 - what is it, and why?

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 inclusion of external (eg. platform) headers: #define POINTER_32 I cannot find what uses this definition or what effect it has, but it looks like t...

32-bit Text drivers (Microsoft Access , Microsoft Excel and Text files ) from a 64 bit application on windows 7

Hi i have an application developed on XP with Text ODBC drivers. But when i deployed on Win 7 with office 2007, i have connection issues. <add key="SQLConnection.TextConnectionString" value="Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\Data\;Extensions=asc,csv,tab,txt;Persist Security Info=False" /> ERROR [IM002] [Microsoft][O...

Practical example of 32 bit unsigned, signed, 64 bit differences

I'm a fairly new programmer and I was wondering if someone could give me a practical explanation/example on the differences and uses between working with signed, unsigned and 32 bit vs 64 bit? i.e. I read an article about how Twitter had developers switch to 64 bit last year but I wasn't sure the reasoning and the specific nature to it....

How to compile for 32bit with Eclipse

I'm currently writing a little program in c++ on my 64bit Ubuntu Pc. By default eclipse compiles the program for a 64bit architecture. Since I want to use my little program on my server which is still 32bit, I need to be able to compile my program for 32bit. How could can I do that in eclipse? I've been fiddling for a while with the sett...

compiling a .net application with either a 32-bit or 64-bit dll

I have an application that we wrote here at work that uses the SharpSVN wrapper for SVN. It has served us well of the past few years. However, we have started bringing in 64-bit systems and our application cannot seem to access the SharpSVN dll on these systems. I have downloaded the 64-bit version of the SharpSVN dll and I am wonderin...

32/64 bit eclipse

On 64-bit openSUSE Linux, can a 32-bit eclipse running with 32-bit JVM compile code for a 64-bit system? Is this setup possible? (Installing and running eclipse/java 32-bit on a 64-bit system) ...