x64

Use 32bit "Program Files" directory in msbuild

In 64 bit versions of windows, 32 bit software is installed in "c:\program files (x86)". This means you cannot use $(programfiles) to get the path to (32 bit) software. So I need a $(programfiles32) to overcome this in my msbuild project. I don't want to change the project depending on the os it is running on. I have a solution which I ...

Access x86 COM from x64 .NET

I have an x64 server which, since my libraries are compiled to AnyCPU, run under x64. We are needing to access a COM component which is registered under x86. I don't know enough about COM and my google searches are leading me nowhere. Question: Can I use a symbolic registry link from x64 back to x86 for the COM component? Do I need t...

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

Runtime C# knowing if 32-bit or 64-bit version of COM Interface is being used

I want to build a DLL Class Library use COM Interop, with C#, target ANY CPU, and register it as 32-bit and 64-bit interfaces. I want to be able to, at runtime, display what interface was used - if I am using the 32-bit version, or 64-bit version. Any ideas? ...

C# COM DLL - do I use REGASM, or REGSVR32?

I am building a C# ActiveX DLL... do I use REGASM or REGSVR32 to register it? How do I register the 64-bit interface vs the 32-bit interface? ...

Why is Vista64 using a 32bit cmd.exe by default? (machine-specific)

(I have this weird configuration problem at work, so I thought I'd give this site a try. My Google-Fu is failing me...) The situation: I need to convert our current development environment from XP 32bit to Vista 64bit (*). Naturally, I've run into plenty of places in our build system where hardcoded paths were problematic (e.g. "C:\Prog...

DBF ODBC Driver in Windows Server 2003 x64

The 64 bits version of Windows Server does not came with the ODBC DBF Drivers by default. Is there a way to get them? What alternatives exist? ...

[64-Bit] Why does malloc overwrite RSP and RSP+8?

You can read about the 64-bit calling convention here. x64 functions are supposed to clean up after themselves however, when I call malloc from .asm, it overwrites the value at RSP and RSP+8. This seems very wrong. Any suggestions? public TestMalloc extern malloc : near .CODE align 8 TestMalloc proc mov rcx, 100h 000000018...

Using 64 bit OS for .Net development in VS

My development machine ( 32 bit Windows XP) runs excruciatingly slow when I am doing .Net development in Visual Studio 2008, thanks to the installation of Resharper. So I am thinking about switching my development machine to 64 bit Windows XP. Not sure whether such a switch will speed up the development or not? 64 bit machines don't ha...

Querying Jet Databases/Excel files with C# under x64 OS

So I have learned that that the Microsoft.Jet.OLEDB.4.0 data provider for querying data sources like Microsoft Access MDB files and Excel spreadsheets does not work under a Windows 64-bit operating systems. What I am now supposed to use to query against these file types in .NET 3.5 (C#) applications in order to ensure compatibility in b...

How do I get F12 to break into the debugger on Vista x64 with VS 2008?

F12 is a wonder for tracking down UI blocking operations, but I can't figure out how to make it work with VS 2008 and managed code. Help! Or not... Edit: turns out it doesn't work in VS 2005 either on Vista x64, so I guess that either widens or narrows it down, depending on your perspective :( MSN ...

Can't connect to a local apache installation under XAMPP on Win XP 64-bit. Help!

Hello, I'm using XAMPP v1.7 on an Win XP-64 bit machine, my Symantec AV is turned off as is my Windows Firewall, and I can't connect to localhost from a browser. I originally had these errors: [Wed Jan 07 16:24:55 2009] [error] (OS 10038)An operation was attempted on something that is not a socket. : Child 2716: Encountered too many...

Batch files, vista x64, if and parenthesis

Some batch files on Windows use an IF syntax with multiple lines, as below: if var==rule ( some comands ) else ( else commands ) Now, Windows Vista x64 decided to put all 32 bits files under "C:\Program Files (x86)". Unfortunately, whenever you use an environment variable (such as PATH) inside a multiple line IF without quotes, th...

WSE client project keeps reverting WebServicesClientProtocol to SoapHttpClientProtocol

Despite enabling WSE 3.0 on client projects in Visual Studio 2005, web references I make always end up with service proxies derived from SoapHttpClientProtocol. I have to manually change the inheritance to WebServicesClientProtocol, but updating it will revert back to SoapHttpClientProtocol. I am unsure where in Visual Studio project pro...

Running C# app 32 bit on 64 bit machine

How do I force my app to run 32 bit on the 64 bit machine? The code is written in C#. ...

How Do I Install Ruby Shoes On x64 Linux?

Hi. I recently discovered Ruby Shoes, which sounds rather useful for a beginner like me. The only the problem is that my laptop is x64, while the only Linux package is i686. I tried it anyway and it didn't work for me, I kept getting an error. I didn't expect it to work, of course, but is there still a way to get Shoes on x64 Linux? Than...

TypeLoadException on x64 but is fine on x86 with structlayouts

Youll need a 64bit machine if you want to see the actuall exception. I've created some dummy classes that repro's the problem. [StructLayout(LayoutKind.Sequential, Pack = 1)] public class InnerType { char make; char model; UInt16 series; } [StructLayout(LayoutKind.Explicit)] public class OutterT...

"Access is denied" by executing .hta file with JScript on Windows XP x64

I have a simple HTML (as HTA) application that shows strange behavior on Windows XP x64 machine. I getting periodically (not every time) error message "Access is denied." when i start the application. The same application on Windows XP 32bit runs just fine... Does somebody has any idea or explanation? Error message: Line: 18 Char: 6 Er...

Client Components for SQL Server 2005 Enterprise x64 won't install due to Native Client Error

So I got a 64 bit virtual machine running x64 Windows Server 2003 Standard Edition with plesk from blacknight.ie. I installed all the updates from windowsupdate.microsoft.com apart from group policy, terminal services and windows search. I then tried installing SQL 2005 x64 Enterprise. I tell it to install everything including all the cl...

PostgreSQL recompile needed after upgrading to a quad-core CPU?

I recently upgraded my server running CentOS 5.0 to a quad-core CPU from a dual-core CPU. Do I need a recompile to make use of the added cores? PostgreSQL was installed by compiling from source. EDIT: The upgrade was from an Intel Xeon 5130 to an Intel Xeon 5345. ...