64bit

How to determine build architecture (32bit / 64bit) with ant?

We have inherited an ant build file but now need to deploy to both 32bit and 64bit systems. The non-Java bits are done with GNUMakefiles where we just call "uname" to get the info. Is there a similar or even easier way to mimic this with ant? ...

Missing Visual Studio features when running in 64-bit mode

Can someone tell me why I don't have all of the dev studio windows available to me when I develop on a 64-bit platform? I upgraded my dev desktop box to server 2003 x64 to match our deployment platform. Since then (I'm using VS2005) I've noticed that several windows aren't available. I can't view Processes (which is the most annoying)...

Can I load a 32 bit DLL into a 64 bit process on Windows?

I recently upgraded a c# windows service to run as a 64 bit .net process. Normally, this would be trivial, but the system makes use of a 32-bit DLL written in C++. It is not an option to convert this DLL to 64 bit, so I wrapped the DLL in a separate 32 bit .net process and exposed a .net interface via remoting. This is quite a reliable ...

VC++ problem with 64 bit oracle client with OpenforwardOnly flag in database connection.

Hi, I am porting an existing windows based C++ application to 64 bit environment and this is one of those weird errors. In the code snippet you can that I am using openforwardonly and it used to work fine with our old setup but in the 64 bit environment it gives the problem of fetching only ONE recordset. Or it could be a problem with th...

Java: How does the VM handle a 64bit `long` on a 32bit processor

How does the JVM handle a primitive "long", which is 64bits, on a 32bit processor? Can it utilise mulitple cores in parallel when on a Multi-Core 32bit machine? How much slower are 64bit operations on a 32bit machine? ...

NCover on 64-bit system

What do you suggest to use for code coverage on 64-bit environment. It seems that NCover supports 64-bit only in Enterprise version which seems to be quite expensive. Or isn't it? What are people using on 64-bit systems for .NET code coverage? EDIT: I am aware of the CorFlag workaround. I would like to know what others are doing/using. ...

Team foundation and 64-bit windows, can't install?

Hi, So is it a certified answer that you can't install Team foundation on windows 2008 64-bit? Update Is it better just do install it on windows 2003 or 2008? ...

Read 64 bit integer string from file

We have a file that has a 64 bit integer as a string in it. How do we scanf() or otherwise parse this numeric string into an unsigned 64 bit integer type in C++ ? We are aware of things like %lld etc., but a lot of ways to do this parse seem to break compiles under different compilers and stdlibs. The code should compile under gcc and ...

Is there a bandwidth improvement from installing a 32-bit operating system on a 64-bit machine?

Knuth recently objected to 64-bit systems, saying that for programs which fit in 4 gigs of memory, "they effectively throw away half of the cache" because the pointers are twice as big as on a 32-bit system. My question is: can this problem be avoided by installing a 32-bit operating system on a 64-bit machine? And are there any bandw...

Compile 32 bit VS 2003 project to 64 bit

I currently have a 32 bit dll that was created with Visual Studio 2003 in C++ using Managed Extensions. I'm now trying to compile a 64 bit version without having to upgrade to C++/CLI. I've been following the tutorial at this location. I'm getting the following error: fatal error C1197: cannot reference 'c:\windows\microsoft.net...

How do I tell if my application is running as a 32 or 64 bit application?

I'm trying to figure out how to tell if my application (compiled in VS2008 as Any CPU) is running as a 32 or 64 bit app. ...

.NET Runtime 2.0 Error in a service

We have a custom service that writes to a DB (SQL 2005). This is a full 64-bit environment (DB, .NET service). On one of our servers we crash every morning when we have a spike in our volume of data. On another server we run fine. The only differences that I've been able to notice between the two machines is that the one experiencing...

memcpy performance differences between 32 and 64 bit processes

We have Core2 machines (Dell T5400) with XP64. We observe that when running 32-bit processes, the performance of memcpy is on the order of 1.2GByte/s; however memcpy in a 64-bit process achieves about 2.2GByte/s (or 2.4GByte/s with the Intel compiler CRT's memcpy). While the initial reaction might be to just explain this away as due to...

OLEDB Driver Bit?

How do I find if the Oracle drivers installed on a system (64 bit Windows 2003 Server) are 32 bit or 64 bit? And how do I even know if they are installed? Is there a particular location where I can check it? PS - I saw the Q here, but is there an easier way? ...

Programming for the 64 bit platform

While working on a .Net application (let's say an Asp.Net one), are there any differences in the way you would do things while working on the 64 bit platform, as compared to working on a 32 bit platform. I would imagine very little since you are working on the framework, and the framework is taking care of most things for you, right? B...

What are the actual performance differences between Int64 and Int32 on 32 and 64 bit MS Windows?

What are the actual performance differences between Int64 and Int32 on 32 and 64 bit MS Windows? It would also be great to see some actual timings of Int64 vs Int32 on each of the two operating system variants. XP or Vista would also be interesting. See also this question about memcpy performance. ...

Why doesn't DBD::Sybase's Makefile.PL find freetds?

I'm having trouble trying to install DBD::Sybase on Redhat. Perl version is 5.8.8 and it is the 64-bit version. When I set the SYBASE env variable to the freetds libs in /usr (the rpm puts libtds in /usr/lib64), it gives the following error message $ perl ./Makefile.PL Can't find any Sybase libraries in /usr/lib at ./Makefile.PL line ...

Does a newly produced mac application need to support 10.4, and can I both support 10.4 and prepare for 64bit?

My company is in the process of rewriting our software from scratch, and I'm the one who is going to be doing most of the work in rewriting the Mac client (The core of our software is Windows based, and the Mac client communicates with it through a webservice). This isn't a real heavy app, mainly does some background work tracking stuff...

Error when installing Visual Studio 2005 on Vista

I am getting the following error when trying to install Visual Studio 2005 on my 64bit, Vista computer: "1305.Error reading from file C:\Program Files (x86)\Microsoft Visual Studio 8\Microsoft Visual Studio 2005 Standard Edition - ENU\SITSetup.dll" I have successfully used the same DVD's to install Visual Studio on my old X...

What can I do to optimize my .NET Web sites and applications for 64-bit?

How can I take full advantage of 64-bit architecture in my .NET 2.0 Web Applications and Console/Forms Applications? ...