32bit

Excel ODBC and 64 bit server

using ASP.NET I need to update an excel template. Our server is running Windows 2008 in 64 bit mode. I am using the following code to access the excel file: ... string connection = @"Provider=MSDASQL;Driver={Microsoft Excel Driver (*.xls)};DBQ=" + path + ";"; ... IF the application pool is set to Enable 32 bit applicati...

IIS6 Available Memory for 32-Bit Application with Web Garden on x64 OS (32Gb Ram)

We have IIS6 running on a 64-bit Windows 2003 server with 32Gb physical RAM. Due to some older 32-bit dependencies within our .NET 3.5 ASP.NET application, we are currently forced to run our IIS worker process in 32-Bit wow64 mode which I understand gives us access to 4Gb of memory for our worker process. My question is if we use the We...

32 to 64 bit "Gotchas" in PHP

Last weekend I changed webhosts for my website. The host server I was on was a 32-bit OS and the one I moved to is 64-bit. Unexpectedly, some of my PHP scripts started giving incorrect results. In my case the << and >> (bit shift) operations were the culprit. I ended up having to mask the result with 0xFFFFFFFF and then changing the re...

How can I test a windows dll to determine if it is 32bit or 64bit?

I'd like to write a test script or program that asserts that all dlls in a given directory are of a particular build type. I would use this as a sanity check at the end of a build process on an sdk to make sure that the 64bit version hasn't somehow got some 32bit dlls in it and vice versa. Is there an easy way to look at a dll file and...

What are the pros and cons of running IIS as 32bit vs 64bit on a 64bit OS?

Possibly better suited for "Rack Overflow", but from a developer's point of view, what are the advantages and disadvantages of running IIS (serving both legacy classic ASP and .NET) as a 32bit process instead of a 64bit process on a 64bit windows host? The main advantage of 32/64 (iis/server) over 32/32 seems to be the ability to go up...

How to allow 32 bit apps on 64 bit windows to execute 64 bit apps provided in Windows\System32

Say you have an app, that you want to provide users ability to browse the system32 directory and execute programs in (like telnet). What is the best method for supporting this when you need to support XP onwards as a client and 2k onwards for server? Having written all this up I wonder if it's just too much time/effort in providing a b...

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...

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. ...

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 ...

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? ...

Building crti.o for i386

I am trying to build a cross-compiler with x86_64 being the host and i386 being the target. I'm getting the (all to common) crti.o: No such file error. Instead of grabbing an already built crti.o and crtn.o from a distro... how might I go about building these files explicitly from glibc (or possibly gcc) sources? FYI, I am well aware of...

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 ...

Subversion with 32 bit server and 32/64 bit clients

Good morning; my google-fu seems to be lacking today. I've just been upgraded to a Vista64 machine, and we only now have a 32 bit subversion server. I assume there is no problem using 64bit tortoisesvn with the 32 bit server ? Thanks. Max. (Edit) Thank you all. ...

64/32 bit standard driver translation in Windows

The question is basically a follow up to this thread: http://stackoverflow.com/questions/602587/using-a-64-bit-driver-in-a-32-bit-program-windows As I learned when I have a 64 bit driver, which is used over a set of 64 bit DLLs I cannot have a 32 bit process calling the DLLs. We now use some funny interpocess communication to workaround...

Can you compile 32-bit Apache DSOs (Oracle HTTP Server) on a 64-bit machine?

I've migrated an Oracle database and Oracle HTTP server install from a 32-bit machine to a 64-bit machine - both machines running Linux. Oracle Database is 64-bit, but the (Apache) HTTP server is 32-bit. I use some non-Oracle DSOs (mod_ntlm for one) but whenever I run the standard "make install" type thing I end up with a 64-bit module....

Cannot Use Microsoft Chart Control on a 64 bit Operating System

I am having issues running the chart control on our 64 bit machine. I get the following error... Could not load file or assembly 'AspnetChart' or one of its dependencies. An attempt was made to load a program with an incorrect format. The machine I am running this on is a Windows Server 2003 Enterprise x64 Edition SP2 Intel(R) Xeon...

Running 32-bit ASP.NEt 3.5 apps in Windows 2003 64-bit

I've managed to get my 32-bit apps working on IIS in Windows Server 2003 64-bit, but I'm wondering if I will encounter any other issues doing so. Any ideas? ...

Nehalem Xeon performance on 32-bit OS, XP vs 2003

I have to run 32-bit code on WinXP or Win2003. Nehalem Xeons (5500 series) should be the fastest, but I'm not sure what'll happen with the memory arrangement. I'm unsure about 2 parts: To get a maximal speed memory setup, I'll need to install at least 6gb of RAM (to give each CPU 3 sticks to work with). Is the memory interleaved in suc...

Converting byte-stream into numeric data-type

Let's say I have a byte-stream in which I know the location of a 64-bit value (a 64-bit nonce). The byte-order is Little-Endian. As PHP's integer data-type is limited to 32-bit (at least on 32-bit operating systems) how would I convert the byte-sequence into a PHP numeric representation (float would be sufficient I think)? $serverChalle...

#ifdef for 32-bit platform

In an application I maintain, we've encountered a problem with file descriptor limitations affecting the stdlib. This problem only affects the 32-bit version of the standard lib. I have devised a fix for my code and would like to implement it, but only when compiling for 32-bit executable. What pre-processor symbol can I #ifdef for to d...