64bit

Team is Going from XP32 to XP64 for .NET Development - Any Gotchas?

My team is getting new XP64 workstations. We've been using XP32 up until now. Most of our work is done in managed C#/VS2008/.net 3.5 and SQL Server 2005. However we do have a couple apps that are still in VS2005/.net 2.0. The majority of our applications are ASP.NET webforms apps and WCF services that are running on 64bit servers in prod...

How to make a .NET executable run on 64-bit framework

I have an executable that defaults to 32-bit. It doesn't have source code and I want to keep both 32-bit and 64-bit frameworks on the system. Is there a way to make that executable run on 64-bit .NET framework instead? ...

libstdc++ 64bit and 32bit version on the same machine

Hello All I am trying to cross compile a version of my software for a 64bit platform. Can I have the 32bit and 64bit version of libstdc++ installed on the same machine without too much worries of breaking my linux install. The Os is 32bit ubuntu. I have not cross compiled before and just wanted to check that if I set my CFLAGS and LDFL...

Programmaticly disable device in device manager (Vista x64)

Is there any way to programmaticly disable a device? (preferably in .net, win32, or batch). Most hits on google suggest using devcon but it does not seem to be working on Windows Vista/7 64bit. http://stackoverflow.com/questions/252185/-net-how-do-i-disable-a-system-device has a solution using SetupDiSetClassInstallParams but it also d...

C / C++ program connecting to 32-bit DB2 and 64-bit DB2 simultaneously

Is it possible to successfully author a C / C++ program in *IX operating systems that operates on both 32-bit and 64-bit DB2 implementations simultaneously? The exact requirement is to read from a 32-bit DB2 database and write into a 64-bit DB2 database. ...

structure alignment to port code to 64-bit

Hi, I have a 32-bit .NET assembly which PInvokes into the C layer. I want to port this assembly to 64-bit. I have read many documents related to porting to 64-bit, all of which seems to suggest that we need to take care of the alignment if we are to use structures. I had a general question related to structure alignment and wanted to c...

As a programmer, what do I need to worry about when moving to 64-bit windows?

Most of my recent programming has been on 32-bit Windows using C/C++/C#/VB6 . Lately, my customer are asking if my code will run on 64-bit Windows. I'm wondering what legacy features I might be using that will break on 64-bit Windows? What are some real-world issues I need to think about and worry about? Obviously, I will test my code ...

Platform agnostic .NET bitness - from OS or calling application?

I know that platform agnostic .NET applications "float up" to the bitness of the operating system. But what about a .NET assembly that is a library, not an executable, being called from a non-.NET application? We have a .NET DLL that is a CLR extended stored procedure for SQL Server 2005. Currently it is platform agnostic. What happens ...

Benefits/drawbacks to running 64-bit JVM on 64-bit Linux server?

We run the 32-bit Sun Java 5 JVM on 64-bit Linux 2.6 servers, but apparently this limits our maximum memory per process to 2GB. So it's been proposed that we upgrade to the 64-bit JVM's to remove the restriction. We currently run multiple JVM's (Tomcat instances) on a server in order to stay under the 2GB limit, but we'd like to consol...

can my programs access more than 4GB of memory?

if I run python on a 64bit machine with a 64bit operating system, will my programs be able to access the full range of memory? I.e. Could I build a list with 10billion entries, assuming I had enough RAM? If not, are there other programming languages that would allow this? ...

Is anyone using 64 bit build of Octave?

Hi, I'm wondering if anyone has a 64-bit build of Octave? If so, do you know if it has full access to the 64 bit memory range -- i.e., can you create a matrix which uses up more than 4GB of memory? Thanks, Ben ...

64-bit linux, Assembly Language, Issues?

I'm currently in the process of learning assembly language. I'm using Gas on Linux Mint (32-bit). Using this book: Programming from the Ground Up. The machine I'm using has an AMD Turion 64 bit processor, but I'm limited to 2 GB of RAM. I'm thinking of upgrading my Linux installation to the 64-bit version of Linux Mint, but I'm worried ...

Member Variable Pointers in 64 bit environment

I've discovered while trying to use a luaBind-style class binding system that passing pointers to member variables doesn't seem to work right when compiling as a 64 bit app. Specifically: class Foo { int a; int b; }; With the above class getting &Foo::b in 32 bit will return (as expected) 0x00000004. The same call in 64 bit re...

segfault on Win XP x64, doesn't happen on XP x32 - strncpy issue? How to fix?

Hi there, I'm pretty inexperienced using C++, but I'm trying to compile version 2.0.2 of the SBML toolbox for matlab on a 64-bit XP platform. The SBML toolbox depends upon Xerces 2.8 and libsbml 2.3.5. I've been able to build and compile the toolbox on a 32-bit machine, and it works when I test it. However, after rebuilding it on a 64-...

Does Java 64bit perform better than the 32bit version?

I noticed sun is providing a 64bit version of Java. Does it perform better than the 32bit version? ...

geoip + pecl + 64 bits box

Has anyone tried to install geoip over pecl on a 64bits box? I can install geoip just fine using these commands on my 32bits fedora box. I can't on the 64bits version. Any ideas why? yum install make gcc cpp gcc-c++ glibc glibc-headers php-pear php- devel geoip geoip-devel pecl install geoip => on the 64bits version it breaks here wi...

Using Redemption dll (Outlook) on a 64 bit machine

I have an exe that I have installed on my 32 bit machine, it loops round the logged in users Inbox and works fine, (NB I still havent got it working for another user (see here) any ideas there would be appreciated as well!). But when I install it on 64 bit server I am getting this error. Creating an instance of the COM component with ...

Detect whether current Windows version is 32 bit or 64 bit

Believe it or not my installer is so old that it doesn't have an option to detect the 64 bit version of Windows. Is there a Win DLL call or (even better) an environment variable that would give that info for XP and Vista? One possible solution I see that Wikipedia states that the 64 bit version of XP and Vista have a unique Env Variab...

Using a 64 bit driver in a 32 bit program. Windows

This is only a half-way programming question. First of all I have a PCI-Express card and 32/64 bit drivers. The target operating system has to be a Windows 64 bit system. I read that under Vista64 all drivers have to be certified 64 bit drivers. Is this a general restriction under 64 bit operating systems and does this also apply to "XP ...

What are the advantages of a 64-bit processor?

Obviously, a 64-bit processor has a 64-bit address space, so you have more than 4 GB of RAM at your disposal. Does compiling the same program as 64-bit and running on a 64-bit CPU have any other advantages that might actually benefit programs that aren't enormous memory hogs? I'm asking about CPUs in general, and Intel-compatible CPUs ...