32bit-64bit

starting 64 Bit Windows Application Development

I intend to start writing a 64 Bit Scientific Computing Application (signal processing) for Windows using Microsoft Visual Studio 2008. What should I have ready as far as a development platform is concerned? How would it be different from 32 Bit development? What could be the porting issues for a 32 Bit version that I already have (ok -...

NUnit "missing" GPSVC.DLL on Windows 7/64

I recently upgraded from Vista/32 to Win7/64. On my old machine, everything was working fine. Unfortunately, on my new machine NUnit won't load my unit tests, with the error message "System.IO.FileNotFoundException: Could not load file or assembly 'UnitTest' or one of its dependencies. The system cannot find the file specified". (Act...

Is Visual Studio 2010 WebDev WebServer (Cassini) 64-bit compatible?

I'm now developing on Visual Studio 2008 on a 64-bit OS (Windows Server 2008 64-bit). While the apps I write are 64-bit capable, as is IIS7, the built-in ASP.NET Development Server (aka Cassini aka WebDev.Webserver.exe) runs as 32-bit. This brings up a plethora of issues, such as: 32-bit and 64-bit applications have separate HKLM\Sof...

Windows 7, Visual Studio 2008 and Qt 4.6, 32 OR 64 bit?

I'm trying to install Windows 7 64bit (as oppose to 32bit), mainly because large amount of RAM would be wasted otherwise. I wonder if I should install Visual Studio 2008 32bit OR 64bit. I also uses Qt 4.5/4.6 for development, does it play well in 64bit environment? Any suggestions on what will be a most recommended configuration? ...

Does VMWare or any other 'virtualization software' alowe you to set the amount of CPU cores?

Hello I am setting up a testing PC to help find a weired bug on a single core computer. None of the PCs in our office have single core any more. Can I use VMWare to something similar to emulate a single core PC on a multi-core computer? Can you emulate a 32Bit version of windows with VMWare on a 64bit PC? ...

Determine whether a DLL is 32-bit or 64-bit

From a C# 32-bit application, In need to determine whether a given (unmanaged!) DLL file is 32-bit or 64-bit. Does anybody have working sample code that can do this with managed code, for example by using FileStream (and not by calling Windows API functions)? ...

Run php from command line in 32-bit mode

Is it possible to tell php to run a script from the command line in 32-bit mode? I have a php script that uses an ODBC driver that is only works when PHP is run in 32-bit. Here is how I'm calling the script: php -d safe_mode=0 -f checkImport.php Any ideas? ...

Linking 32-bit library to 64-bit program

Hi! I have a 32-bit .so binary-only library and I have to generate 64-bit program that uses it. Is there a way to wrap or convert it, so it can be used with 64-bit program? ...

How to know a process is 32-bit or 64-bit programmatically

Hi, How do I check whether an application/process is running in 32-bit or 64-bit mode? for eg. i will start a process abc.exe. In c# how can we know whether a 32-bit abc.exe is running or a 64-bit one? please help.. It is not the current process.. I am querying for some process 'abc.exe' ...

How can 32-bit application find the location of 64-bit Program Files directory on Windows Vista 64-bit?

I'm struggling with a problem of how to determine the location of 64-bit Program Files directory on 64-bit Windows Vista from a 32-bit application. Calls to SHGetKnownFolderPath( FOLDERID_ProgramFilesX64 ) do not return anything. MSDN website also states that this particular call with FOLDERID_ProgramFilesX64 is not supported for 32-bit...

MySQL-python 1.2.3 and OS X 10.5: 64- or 32-bit?

I've been happily using Django and MySQL in development on an existing machine running OS X 10.4 Tiger, and have set up a similar environment in 10.5 Leopard on a new 64-bit MacBook, with a working MySQL and Python 2.6.4. However, now I want them to communicate, easy_install MySQL-python gave ld warnings that the file is not of the requ...

Memory requirments for large python list

I was doing a foolish thing like from itertools import * rows = combinations(range(0, 1140), 17) all_rows = [] for row in rows: all_rows.append(row) No surprise I run out of memory address space (32 bit python 3.1) My question i, how do I calculate how much memory address space I will need for a large list? In this case the list i...

Detect CPU Architecture (32-bit / 64-bit) runtime in Objective C (Mac OS X)

I'm currently wring a Cocoa application which needs to execute some (console) applications which are optimized for 32 and 64 bit. Because of this I would like to detect what CPU architecture the application is running on so I can start the correct console application. So in short: how do I detect if the application is running on a 64 bi...

Alternatives to keeping large lists in memory (python)

If I have a list(or array, dictionary....) in python that could exceed the available memory address space, (32 bit python) what are the options and there relative speeds? (other than not making a list that large) Let me emphasize "could". The list could exceed the memory but I have know way of knowing before hand. If it started to exceed...

Should I provide an x64 build of my application?

Perhaps I'm missing a major point of the x64 platform here, but my perception was that x64 applications were only better performing than x86 versions (on an x64 OS and hardware, obviously) when large amounts of memory, large pointers, or other demanding factors were involved. However, I've started to notice some smaller applications off...

Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine

I created a windows application developed in .NET 3.5 in a 32 bit Windows 2008 server. When deployed the application in a 64 bit server it shows the error "Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine ". So as a solution to this issue, i have changed the build property of the project to X86, so that it will b...

C#: How can I detect the bitness of an other process... not the current one

How do I know the bitness of some process which is in running state. (Not the current one.. where IntPtr.size is useful) iswow64process()... gives only whether it is a WoW64 process, but doesn't output 32/64 bit.. could anybody pl help.. ...

How to start a 64-bit process from a 32-bit process

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 dir, cd etc). The problem is that on my machine I installed 64-bit version of JRE and java.exe is only available from C:\Windows\System32 folder (...

How do i get the true path to a reg key?

If you are running a 32 bit app on a 64 bit machine (I am using windows 7) and you write this code RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Software\XXX") it will actually get the key from HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\XXX and not HKEY_LOCAL_MACHINE\SOFTWARE\XXX Progromatically given a RegistryKey how do...

SSIS Object Model - Excel Connection Manager Error On 64bit Machine

I have a SSIS package which reads an Excel File (Data Flow Source) and transfer the data to SQL Server using OLEDB Destination Data Flow Item.This package is executed by .Net Application using the SSIS Object model. The package stored in a file system within the application subfolder. The package works fine on my development/test machin...