64bit

64-bit Oracle Client for v8 database

Okay, here's the deal: I have a C#/.NET app accessing an Oracle 8 database, that works well on our 32-bit machines. It works using a v.8 ODBC client, a 9i client, or a 10g XE client. However, nothing seems to work on a 64-bit windows machine. I did successfully install a 64-bit 11g client, only to find it refuses to talk to a v8 datab...

Is it possible to compile both 32-bit and 64-bit configurations without restarting Visual Studio?

Currently Visual Studio just starts cl.exe for C++ source compilation. cl.exe needs to be in one of folders listed on the %PATH% environment variable. Since there're separate versions of cl.exe for 32-bit and 64-bit compilation in order to compile a 32-bit project after compiling a 64-bit project it is necessary to restart Visual Studio...

Detect 64-bit or 32-bit Windows from User Agent or Javascript?

I want to offer the right version of a download. The versions I have are: 32-bit Windows 64-bit Windows Linux Detecting Linux using the User Agent field is easy; but is it possible to reliably figure out if Windows is 32-bit or 64-bit? Users might be using weird browsers - IE and Firefox are common, and we probably have an Opera us...

What is preventing my .NET 2.0 application from running on a 64-bit platform?

I have a .NET 2.0 application that won't run on a 64-bit OS (the customer tried both Server 2003 and Windows 7). The error message is: The application failed to initialize properly (0xc0000135). Googling this message returns little helpful information (one link I found just said if you get this message it's because they don't suppo...

Starting Assembly

I'm new to assembly language, and would like to learn. I have Vista-64 (will be upgraded to Windows 7 64), and I will soon be reinstalling 32-bit Linux, but I will end up programming on both systems, probably using NASM. I was wondering if 32-bit assembly programs will compile and run on my system. If not, what are the major differences ...

Does Visual Studio 2008 work well with Windows 7 pro 64bit

I am just about to buy a Dell Studio 15 Laptop with Windows 7 Pro 64bit Has anyone faced any issues in installing or working with Visual Studio 2008 on Windows 7 Pro. Or do I need to go for Windows 7 Pro 32 bit? [EDIT] Any issues with any other development tools, what about VS2008SP1, Azure Add ons, Sql Server 2008 express, Virtual Ser...

C++ 64-bit std::ostream support

I am about to make the transition from using standard FILE pointers from some older code to using C++ streams but I need to have LARGEFILE seeking support (the compiler flags that activate this support are: *-D_FILE_OFFSET_BITS=64* et al) which I am able to obtain by using the *off64_t* datatype. My original question was answered regar...

System Architecture

How do I determine whether the currently running Mac OS X system is of 32bit or 64bit machine? ...

Python type long vs C 'long long'

I would like to represent a value as a 64bit signed long, such that values larger than (2**63)-1 are represented as negative, however Python long has infinite precision. Is there a 'quick' way for me to achieve this? ...

Are there compiler flags to get malloc to return pointers above the 4G limit for 64bit testing (various platforms)?

I need to test code ported from 32bit to 64bit where pointers are cast around as integer handles, and I have to make sure that the correct sized types are used on 64 bit platforms. Are there any flags for various compilers, or even flags at runtime which will ensure that malloc returns pointer values greater than the 32bit limit? Platf...

Distributed caching on 64-bit Windows machines

Are there any production-ready distributed caching mechanisms like memcached that can be used in a Windows 64-bit environment? From what I've seen, memcached is run on linux machines in production environments, however I don't have control over the fact that we will be using 64-bit Windows machines. Additional requirements include for ...

Asp.net on Windows 2003 R2 Enterprise on IIS 7.5

Hello All, I recently upgraded my web server to Windows 2003 R2 Enterprise 64 Bit. Now my website developed using Asp.net is not able to load reports developed using Crystal reports. The reason is Crystal reports dll are unable to load as they are 32 bit. To solve the above issue, I forced the aspnet_compiler.exe to compile in X86 mode...

How do I call a 32 bit C DLL from C# running on Windows Server 2003 64 bit edition?

I know I can’t compile my C# code using the default ”Platform Target : Any CPU” build setting and call a 32 bit C DLL. But if I change this setting to ”Platform Target : x86” the C# code should run under a 32-bit context and call the C DLL under that 32 bit context right? Although it doesn’t seem to work. Do I have to register the 32-bi...

Should the conditional operator evaluate all arguments?

When writing this: 1: inline double f( double arg ) { 2: return arg == 0.0 ? 0.0 : 1./arg; 3: } 4: const double d = f( 0.0 ); The microsoft visual studio 2005 64-bit compiler came with line 4: warning C4723: potential divide by 0 While you and I can clearly see that a div-by-zero is never going to happen... Or is it? ...

Delphi 64-bit Preview Compiler available?

Hi, is there a 64-bit preview compiler available, as announced a long time ago? I wasn't able to find anything. I really need a 64-bit compiler to target the 64-bit versions of Microsoft Office. ...

Where could I find PHP 5.3.1 x64 binaries (for IIS 7.5) ?

I'm installing a new server with Windows 2008 R2 and now I need to install PHP on it. I can find only x86 versions into http://windows.php.net/download/ I don't know how to compile the sources nor I have the VC compilers :( ...

Programmatically change IIS7's ApplicationHost.config on Windows 2008 64-bit

I need my 32-bit InstallShield installer to make a change to ApplicationHost.config (Part of IIS7). I want to set the value of overrideModeDefaults from "Deny" to "Allow" for the ipSecurity configSection. This works fine in Windows 2008 32-bit, but not in Windows 2008 64-bit. The problem is that the installer only looks in systemWOW64...

Finding an Install of OpenGL for 64 Bit Windows

I am trying to get started on opengl programming from the videotutorialsrock.com site. It wants me to install GLUT and the OpenGL SDK. I was able to download GLUT successfully but the link he has on this page http://www.videotutorialsrock.com/opengl%5Ftutorial/get%5Fopengl%5Fsetup%5Fwindows/text.php does not work on my 64 bit Windows 7 i...

gdi32.dll + unsafe code on 32+64Bit Windows

Which target cpu should I use to compile a .NET 3.5 app (developed on a 32 Bit System) that contains an assembly which uses [DllImport("gdi32.dll")] static extern IntPtr CopyEnhMetaFile(IntPtr hemfSrc, IntPtr hNULL); and which also has the option checked: "Allow unsafe code" because of the following code: ((byte*) dst.Scan0.ToPoin...

Assembly Segmentation Fault

Hi, I encountered an Error during running of the following Assembly Code #cpuid using C library Functions .section .data output: .asciz "The Processor Vendor ID is '%s'\n" .section .bss .lcomm buffer, 12 .section .text .globl main main: movq $0, %rax cpuid movq $buffer, %rdi movq %rbx, (%rdi) movq %rdx, (%rdi) movq %rcx, (%rdi...