x64

Free Compiler for Windows on x86_64

Hello all :) I'm writing a compiler which uses C as an intermediate code which is (Currently) passed out to MinGW for compilation into an EXE file. I'm looking for an x64 compiler that I can include in my releases, so that users of my application can get around Win64's "Windows on Windows" system to access native resources. MinGW allow...

.NET 32-bit dev vs. 64-bit prod

This question is kind of related to another question but I have a specific scenario in mind. We do our development on 32-bit machines and deploy to a 64-bit server. The application is an ASP.NET Web Application and we use SQLite for the backend of this application. When I try to build on the remote machine I get errors from MSBuild sa...

MSBuild.Community.Tasks.Attrib on x64 machine failing

I'm having an issue with the Attrib task from the MSBuild Community Tasks Project when running on a 64 bit build machine. I've put together this small test project to show what the problem is: <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt; <Import Project=...

compiling C++ static library for 64 bit windows platform using VS2008

ith Visual Studio 2008, If the configuration type is a static library, I dont see a linker option in project properties. I need to specify /MACHINE:x64 option for a static library. I tried to specify this in command line option in Librarian. Only then I could build the static library. If I dont specify /MACHINE compiling the static lib f...

Valid path not so valid in Vista using ParseDisplayName. Why?

In the following code example... where filePath is: "E:\[D]\My Collection" (a folder generated by picasa when it archives media) works okay on XP (32-bit). I recent ran this on vista 64-bit... and ParseDisplayName errors with "Value does not fall within the expected range." All other folders (without the '[D]') work okay. Any help wou...

VS2008 on Win7 64-Bit: Debugging a Windows Service

Hi all, I'm trying to debug a Windows Service using VS2008 on Win7 64-Bit. The problem I'm having is that none of my breakpoints are being hit, regardless of which build configuration I choose: x86, x64 or AnyCPU. Using "Attach to Process" after the service has started, none of the breakpoints are hit - yet the IDE doesn't inform me th...

Exceptions ignored in form_load for x64

When I throw an exception from form_load in my C# application it doesn't work when the platform is x64. (it acts as expected for x86) When I step through the code, I get to the line where the exception it thrown, then it immediately jumps to timer_Tick. When I create a new project and add this line to form_load: throw new System.Except...

how to allow .com in a url path using IIS6 on Win2003 R2 x64?

it seems IIS6 on Win2003 R2 Enterprise x64 SP2 will not allow you to use .com in a url path. e.g if i create a folder foo.com in my web root, containing a default.htm, this url results in a 404: http://localhost/foo.com/default.htm however, following the exact same steps on Win2003 R2 Standard x86 SP2, and IIS6 will serve up the file ...

How un-portable is assembly language, /really/?

I understand that writing anything in assembly, or adding assembly to any program harms its portability. But, how bad? I mean, basically all PC's are x86 or x64 these days, right? So, if I embed assembly into a C program, why wouldn't it still compile no matter where it went? Does this notion of un-portability just refer to when you rea...

VC++ CLI application 32 - 64 bit CString question

SO, I am in the process of resolving the port of a 32bit app to 64 bit. When I compile for x64 I see a warning come up for the line ` CString sig; sig = "something"; sig = sig.left(strlen(something defined)); <<<<<< ` So, I get the warning for the sig.left where it implicitly converts the strlen value to int. Since in x64 strlen retur...

how to fix the error c2118: negative subscript

Again, porting 32-bit app to 64-bit. I get the negative subscript error on the C_ASSERT statement mentioned below.. C_ASSERT (sizeof(somestruct) == some#define); I also read the http://support.microsoft.com/kb/68475 article but not sure if I know how to fix it in this case. Help is appreciated. Thanks in advance. ...

Porting 32 bit C++ code to 64 bit - is it worth it? Why?

I am aware of some the obvious gains of the x64 architecture (higher addressable RAM addresses, ect)... but: What if my program has no real need to run in native 64 bit mode. Should I port it anyway? Are there any foreseeable deadlines for ending 32 bit support? Would my application run faster / better / more secure as native x64 code?...

.Net WinForm System Beep on a 64 Bit OS

My application needs to beep when validation fails so the user (who may be several feet away) may hear it. I'd like to use the Console.Beep() but this is unavailable in a x64 environment (see the remarks). There may or may not be speakers in/at the computer, so I can't use System.Media.SystemSounds.Beep.Play(). The current target platf...

Compiling for amd64 under i386 Debian

Cheers, I want to avoid problems with compiling my code on amd64, yet I don't have a 64-bit CPU available and have no hopes of getting upgrade to my machine any time soon. I have no dreams of testing the code (although that should theoretically be possible using qemu-system) but I'd like to at least compile the code using gcc -m64. Bas...

How is linux simultaneously 32bit and 64bit? Or is that something handled in glibc?

How is Linux simultaneously 32bit and 64bit? Or is that something handled in glibc? I run CentOS 5.3 and it is a "64 bit" version; although I build things for 64 bit and 32 bit. From what I think I know, Windows supposedly has a 32bit emulator. Does Linux do the same thing? Is it in userspace or kernel space? If libc handles it, is it ...

Which SQLCMD.exe to use (x64 or x86) -- SQL Server 2008?

I have SQL Server 2008 installed in a Vista x64 machine. When I look for the sqlcmd.exe, i find 2 versions, the x64 and the x86: C:\Program Files\Microsoft SQL Server\100\Tools\Binn\sqlcmd.exe C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\sqlcmd.exe Which one should I use ? Is there an advantage of using one over the oth...

using 32 bit installshield for packaging 64 bit binaries

Hi, iam using 32 bit installshield to package 64 bit binaries. everything works fine but default location is pointing to c:\program files(x86)\companyname\productname. even though i've selected 64bit at every possible place, somehow it is defaulting to x86 programfiles folder. Any kind of help would be appreciated... ...

Invalid Class String Error when creating C++ Project in Visual Studio 2008 with Vista x64

After going through this Problem (connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=329986) that was related with registry permissions, now again, Visual Studio comes with another error. I have the same error as this guy, I have searched all the internet and it seems nobody has resolved it yet. When I create a C+...

Register type library x64 regtlib)

Hi, I'm running Windows 7 x64, and need to register a type library file (.tlb). I've done this previosuly (on a vista x64 machine) but neglected to take notes as to how I acheived it... There is no regtlib.exe / regtlibv12.exe on the system. I have copied across the regtlibv12.exe from a Windows XP system, however this will "not run"...

Translate inline assembly to support x64

I have a small inline assembly code written in my C code. The asm goes through an array and if needed, move values from a different array to a register. In the end, an interrupt is called. The code is similar to this: cmp arrPointer[2],1h jne EXIT mov AX, shortArrPtr[2] EXIT: int 3h This all work in x86 but according to microsoft: x64...