64bit

adodb driver workaround on windows 64 bit

I have to support an application that uses an access database. My development machine is running Windows XP 64 bit, which is fine, except Windowx XP 64 doesn't have an adodb driver installed, so anytime I write scripts to update the access database I have to move the database and the scripts to a 32 bit machine, RDP in, and then run the ...

Portability of SQL Server applications between 32 and 64 bit versions of SQL Server?

I have an application that is currently running against a 32-bit SQL Server 2005 Standard Edition database. For reasons I won't go into here, I need to move the database to a 64-bit SQL Server 2005 Standard edition running on 64-Bit Windows Server 2003 R2 Datacenter. Are there any migration issues I should be aware of in the Applicatio...

Targeting 64-bit

I'm building a web application on .Net and it will run on 64 bit server. Is there something special that I should do to take full advantage of 64 bits? Only thing that comes to mind is that RAM is cheap and "unlimited" for 64bit, maybe I should cache as much as possible. Edit: closing as duplicate of http://stackoverflow.com/questions...

Upgrading SQL 2000 32-bit to SQL 2008 64-bit

Hi, I have a number of databases on a Windows 2000 Server running the 32 bit version of SQL Server 2000. I need to transfer all the data and settings to a new server running the 64 bit version of SQL 2008 on Windows 2003 64 bit. Is this as simple as backing up the databases and restoring to the new server. Will this work with the system...

Heap fragmentation in 64 bit land

In the past, when I've worked on long-running C++ daemons I've had to deal with heap fragmentation issues. Tricks like keeping a pool of my large allocations were necessary to keep from running out of contiguous heap space. Is this still an issue with a 64 bit address space? Perf is not a concern for me, so I would prefer to simplif...

Should .NET AnyCPU projects bind to Framework or Framework64 DLLs

I have a csproj that has a reference to the Framework64 version of System.Data. When I try to build using MSBUILD/TFS on another machine it fails as the 64-bit DLL doesn't exist. Should I bind to the Framework version, or will this limit me when running on 64-bit machines? Does .NET redirect the binding to use 64-bit when possible? ...

Configure SQL Server 2000 to use more than 2Gb of memory on a 64bit server

Is there any way to configure SQL Server 2000 Standard Edition (32 bit) to use more than 2Gb of memory on a server running Windows 2003 (64 bit)? Thanks for any help. ...

Getting the Web Capture Web Part to work were the Sharepoint is 64bit

Previously our Sharepoint server was 32bit and we used the web capture web part to display a bugzilla search results page. Since we've migrated to a 64bit server the webpart no longer works. We're running the same versions of everything, the only change was moving from a Windows2003 32bit box to a Windows2003 64bit box. Oddly enough, th...

Problem with floating-point precision when moving from i386 to x86_64

I have an application that was developed for Linux x86 32 bits, there are lots of floating-point operations and a lot of tests depending on the results. Now we are porting it to x86_64 but the test results are different in these architecture. We don't want to keep a separate set of results for each arch. According to this article the pr...

Supplying 64 bit specific versions of your software

Would I expect to see any performance gain by building my native C++ Client and Server into 64 bit code? What sort of applications benefit from having a 64 bit specific build? I'd imagine anything that makes extensive use of long would benefit, or any application that needs a huge amount of memory (i.e. more than 2Gb), but I'm not sur...

Can autotools create multi-platform makefiles

I have a plugin project I've been developing for a few years where the plugin works with numerous combinations of [primary application version, 3rd party library version, 32-bit vs. 64-bit]. Is there a (clean) way to use autotools to create a single makefile that builds all versions of the plugin. As far as I can tell from skimming t...

Why is CreateProcess failing in Windows Server 2003 64-bit ?

Hi, We have a 32-bit application that launches other 32-bit applications during its process. The application is working fine on other 64-bit platforms but on Windows Server 2003 64-bit, we get an error trying to launch the apps: error 193 (not a valid 32 bit application) We can manually launch these applications on that system withou...

How to detect Windows 64 bit platform with .net?

In a .net 2.0 C# application I use the following code to detect the operating system platform: string os_platform = System.Environment.OSVersion.Platform.ToString(); This returns "Win32NT". The problem is that it returns "Win32NT" even when running on Windows Vista 64bit. Is there any other method to know the correct platform (32 or ...

How to detect CPU speed on Windows 64bit?

I've found the following code from here "http://www.boyet.com/Articles/CodeFromInternet.html". It returns the speed of the CPU in GHz but works only on 32bit Windows. using System; using System.Management; namespace CpuSpeed { class Program { static double? GetCpuSpeedInGHz() { double? GHz = null; ...

64-bit Qt and Postgres plugin in Windows

I have a 32-bit Windows/Qt application using Postgres plugin. Recently, I've been intrigued to turn the app into a 64-bit app. So I checked the Qt docs for instructions, built Qt and its libraries into 64-bit successfully. Now the problem is Postgres does not provide libraries for 64-bit Windows! Obviously, the Qt Postgres plugin won't c...

Is there a difference (re optimizations) between MSVC++ 2008 and PSDK compiler?

I have just installed the Platform SDK for Windows Server 2008 and .NET 3.5 on my new system, and for the first time tried to compile a project for WIN64. The Unicode Release version of that program, built for 32 bit (using the optimizing compiler from the no longer available Free Toolkit), comes in at about 2.8 MB. Using the amd64 com...

Is it possible to access a 64-bit dll from a 32-bit application?

I have a Delphi application similar to Taskbar Shuffle that includes a hook dll. EDIT: This hook DLL communicates with the main app by sending windows messages. I want to add support to XP and Vista x64 and my initial idea was to convert the dll to 64-bit (compiling it with FreePascal) but keep the application 32-bit for now (Delphi). ...

64 bit portability issues

All this originated from me poking at a compiler warning message (C4267) when attempting the following line: const unsigned int nSize = m_vecSomeVec.size(); size() returns a size_t which although typedef'd to unsigned int, is not actually a unsigned int. This I believe have to do with 64 bit portability issues, however can someone exp...

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

Identifier for win64 configuration in Qmake

Is there a "win64" identifier in Qmake project files? Qt Qmake advanced documentation does not mention other than unix / macx / win32. So far I've tried using: win32:message("using win32") win64:message("using win64") amd64:message("using amd64") The result is always "using win32". Must I use a separate project-file for x32 and x64 ...