64bit

On Solaris Sparc 64bit, Can a 64bit process load a 32 bit shared library

On a 64bit Solaris Sparc system, can an Apache Server built in 64bit mode load a 32 bit plug-in? ...

Parse xls file in email

I am trying to parse an excel file from an email without using an oledb driver or mssql! The client i am working with is using server 2003 x64 and ms sql express 2005. I cannot run IIS in x86 because this would break the exchange owa. I also cannot create a sql job to take in the xls file and spit out a csv because it is an express editi...

Resolving cast to pointer from integer of different size error in 64-bit conversion

I'm working on modifying the PTHotKeyLib to be 64-bit friendly, but I've run into an issue in the code that I'm not sure how to get around. In PTHotKeyCenter, the registerHotKey method create an EventHotKeyID instance and then stuffs the of PTHotKey object into the id attribute. The original code used a long. I converted it to NSInteg...

In Visual Studio, how to correctly build an application for 64-bit machines?

I need to build an application for 64-bit platform to utilizes some DLL's built for 64-bit machines. I know how to you can build each project separately to target for 64-bit platform. But when you have many projects in one Visual Studio solution, and some DLL's are dependent of the others. How do you decide what projects to build as x64,...

What are good environments for running high-memory-consuming (Python/Perl) scripts?

I'm looking for suggestions on new development system from some programmers that have more experience, but let me give some background on why. We need a new development server for running scripts on large feeds Speed is not a concern, it just needs to finish The scripts are not ran often, and are typically coded very quickly (not o...

Choosing the virtual address of the stack in a x64 Windows program.

I am working on a Windows program codebase that has heretofore been 32-bit. I am trying to make this codebase 64-bit clean. Turning on “top down” allocations in the heap manager by setting the “AllocationPreference” registry value has been very helpful in turning up bugs where code was guilty of coercing pointers down to 32-bit values (s...

Debug own IIS7 app pool as unprivileged user

I get an access denied error when I try to attach to w3wp.exe from Visual Studio 2008 on Server 2008 64-bit, even though I have the application pool set to run as my own unprivileged user. On Server 2003 I was able to do this. Something weird is going on because when I run Process Explorer as myself I can't see any detailed process inf...

Sybase ASE 15.x ODBC driver on Windows 7 64bit

I have trouble getting the Sybase ASE ODBC drivers to work on Windows 7 64bit. I have a 64bit version for Sybase ASE 15.0.1. However the installation fails. After selecting a "Custom" installation, and selecting all the options required for the client, the Java-based installer just disappears into thin air when clicking NEXT. I have tr...

Can I deploy SharePoint solutions with 32 bit assemblies on a 64 bit SharePoint farm?

Our development environment is all 32 bit, but our production SharePoint farms are all 64 bit. Can we just deploy the SharePoint solutions straight to the 64 bit platform, or do we need to recompile everything? ...

Classic ASP using COM+ on x64 Windows Server 2008 and IIS7

(Note: I thought about posting this to serverfault, but I figured more developers have banged their heads against these issues than admins) I'm trying to set up a web page that uses both ASP Classic and ASP.NET 2.0 in the environment mentioned above. After applying many common fixes on the web and a few lucky guesses, the ASP.NET 2.0 pa...

msa1 codec problems

So my new job started. The company provided me with a computer with a Windows Server 2008 operating system and they told me I should watch some Live Meeting recorded instructions and demonstrations about how the system works that I will be working on. Live Meeting, in case you don’t know, has a very cool feature where you can record a ...

Import 32-bit dsn into 64-bit window server

We are in process of upgrading from 32-bit windows 2003 server to 64-bit windows 2003 server. We have hundreds of ODBC DSN's created on the 32-bit, which we now want to work on the 64-bit box. Using the registry export and importing into the 64-bit box results in those entries ending up on the 32-bit part of the odbc windows registry tre...

32 and 64 bits libraries: separate file or a single one?

Hi all, I need to provide 32 and 64 bits version of my .dll for a customer. Do I need to generate 2 files? Or can a single one contain code for both architectures? And for extra brownie points: does the same question apply for Mac libraries? Or the Universal Binary approach solve that issue? Thanks in advance Alex ...

64-Bit VB.NET Allocating > 2GB of RAM (.NET bug?)

I have a 64 bit VB.NET application and want to allocate a buffer > 2GB in size. In the following code both the "new" and the "ReDim" throw an "OverflowException." How can I allocate buffers > 2GB when these functions only accept signed 32 bit values? (Is this possible in C#?) Edit - I am running WinXP 64 with 4GB of RAM. Dim width ...

Converting website from running on IIS 6.0 to iis 7.0 using native integrated pipeline mode on Server 2008 64 bit

Hi Summary To get my site running smoothly on a 64bit server platform, using IIS 7.0 Integrated pipeline mode, what are the things I would need to fix in order for this to work. Some more detail I am aware of, that if a assembly uses PInvoke and I have a reference to such a assembly in my project, the error message I will get will pr...

How do I read 64-bit Registry values from VBScript running as a an msi post-installation task?

I need to read the location of the Temporary ASP.NET Files folder from VBScript as part of a post-installation task in an installer created using a Visual Studio 2008 deployment project. I thought I would do something like this: Set oShell = CreateObject("Wscript.Shell") strPath = oShell.RegRead("HKLM\SOFTWARE\Microsoft\ASP.NET\2.0.507...

Why does my 64-bit IIS app pool show 3 gigabytes more virtual memory than private memory?

I have an ASP.Net application that I am running on 64-bit IIS 6 on Windows XP x64. When I open performance counters after one page hit of a trivial page, I see a Private Bytes of about 88 megs, but a Virtual Bytes of about 3 Gigs. When I try the same thing with a VERY trivial ASP.Net app, I get the same result. We see something similar o...

32 bit lampp with 64 bit libmemcached

I am running lampp on a 64 bit machine by installing ia32-libs. Problem is when I try to install libmemcached on the same machine, it gets compiled as 64 bit. I changed the script and got it to compile for 32 bit but when I restart apache, it complains about openssl not being 32 bit. Looks like I'll have to compile the entire world as 32...

How to develop to take advantage of 64 bit systems?

Is there any specific sectors of Software Engineer/Computer Science where there's a marked difference when developing for 64 bit systems? I've been coding for around 10 years now, and since the break of 64 bit systems, my code hasn't changed one bit. What applications that a single coder can code as a side project require you to use 64...

What 64bit target to choose when compiling with Visual Studio (vcvarsall.bat)?

The vcvarsall.bat that does setup de build environment let you choose between x86 | ia64 | amd64 | x86_amd64 | x86_ia64. First option is obvious for 32bit, but the question is: what would be the optimal option between the other 4 if you want to build for 64bit and you want to run on all 64 bit machines. Let say that you don't have ti...