x64

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

"The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine"...DNN

I'm trying to get a new DotNetNuke site up and running on our 64-bit server, and I'm encountering the following error message: "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine" I know from experience that you run into this when you target a 64-bit assembly on a 64-bit machine (there is no 64 bit OLE-DB pro...

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

How to make OpenGL apps in 64-bits windows

OpenGL experts, My project compiles, link and run in xp32 then I tried to cross compile it to x64 and I came across a lot of questions. There's no native x64 instalable OpenGL SDK so I link against what? I saw someone saying that x64 apps use 32bits opengl dll. I tryied to run my compiled 64-bits app in a xp64 with drivers to my video...

Anyone have any luck installing Oracle10g Client 64-bit 10.2.0.3 on Windows 7 x64 RTM?

I am happy with Windows 7 RTM x64 overall as everything in my development environment works well with it except for Oracle Client 10.2.0.3 64 Bit version. I downloaded the latest release and as soon as I begin installing it, it stops with an error saying that it will install on Windows version 6.0 (Vista) but does not support Windows ver...

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

Problem with GDI generated fonts in 64-bit Vista

We’re building a custom output display dialog. In it we display thumbnails (bitmaps) in a listbox. There is also a larger, detail view which is a GDI vector image retrieved from PrintPreviewEventArgs (PreviewPrintController) and displayed in a WindowsFormsHost:PictureBox. The thumbnail bitmaps are created from the original GDI image, ...

x64 va_list in Visual Studio 2005

I have a class non-static member function, and it has variable arguments, I'm compiling on Visual Studio 2005, with the 64-bit runtime, on 64-bit Windows. void Class::Foo(void* ptr,...) { va_list args; va_start(args,ptr); float f=va_arg(args,float); va_end(args) } I'm expecting a float, I pass a float to the function. ...

MSBUILD / csc: Cleanest way of handling x64 mscorlib warning 1607

I'm trying to use VS08SP1's default project system to invoke a C# compile in explicit x64 mode (as distinct from Any Cpu). When I explicitly mark a module as x64, I get a: warning CS1607: Assembly generation -- Referenced assembly 'mscorlib.dll' targets a different processor One way of removing that is with a /nowarn:1607. Based on my...

Running portion of a TeamBuild as x64 [for xunit.net tests]

Using Team Foundation Build, I'm invoking the xunit.net xunit task, which is /platform:AnyCpu, but my TeamBuild invocation of the TFSBuild.proj is vanilla. I have a number of tests that are x64 specific (`/platform:x64'), which choke with an ImageFormatException. I have also a test asembly that's marked x86 so it can't be all or nothing...

Accurev - Environment Ignore Rules not applied in 64-bit machine.

Hi All, I recently installed the 64 bit version of XP on my new development machine, and subsequently installed AccuRev. One thing I noted was that the ignore rules I previously used on my 32 bit machine in the ACCUREV_IGNORE_ELEMS environment variable are not being applied. Has anyone else encountered this? ...

How can I know if a dll is x86, x64 or any architecture?

Possible Duplicate: How to determine if .NET assembly was built for x86 or x64? How can I know if a .Net DLL was compiled for x86, x64 or any architecture? ...

Classic ASP in 64bit mode and .NET COM DLL register problem

Hello, I'm running Classic ASP on Windows 2008 Server x64 in 64bit mode. ADODB is running fine in 64bit with classic ASP. I have a problem with mine .NET COM DLL. I have created a .NET COM DLL with such code as an sample: using System.Runtime.InteropServices; namespace TestNamespace { [Guid("C446E97E-B415-4677-B99E-9644657FC98"), ...

VS2008 on Windows 7 RTM with x64 compiler broken

I am having trouble getting x64 compilation to work on Windows 7 RTM (64-bit) with Visual Studio 2008 Professional (both with and without SP1). I have not installed the Windows 7 SDK, as Microsoft suggests might be the issue. The problem is that there are no x64/64-bit choices in the Configuration Manager of Visual Studio. I do not hav...

VC++ LNK2001: unresolved external symbol only when compiling on 64bit

I have made a dll that compiles fine in 32bit mode, but when compiling in 64bit mode (both on a 32bit box cross compiling and on a native 64bit box) I get the above error. The symbol that it is complaining about are the following: "struct return_info_ * __cdecl patch_file(char *,char *,char *)" I am new to C++ but I think I have defin...

Will Visual Studio 2005, 2008 benefit from a 64 bit operating system?

Imagine the same hardware running Windows XP 32bit, or Windows XP 64bit.. (being that it's a 64bit processor currently running XP 32bit) 2gigs of ram... Will the performance of Visual Studio benefit from going to the 64bit OS? The hardware and ram is currently out of my control... If I could throw more hardware or ram at it I would. ...

Visual Studio 2008 sp1 vc++ project works in 32 bit mode, but not 64 bit

I have a project that runs perfectly well under windows 7, x86 installation. On the same machine, but in a different drive, I've installed windows 7, x64, and visual studio 2008 sp1 on both. The project compiles and runs under win32. When I try to compile the project under x64, I get nothing, and everything gets 'skipped'. Furthermor...

Reading Access MDB file from ASP.NET 3.5 Web Service on 64 bit OS.

I run Windows Server 2008/IIS 7. From a Web Service I attempt to read from a local mdb file. If I set the target platform to any or x64 I get the error: The 'Microsoft.JET.OLEDB.4.0' provider is not registered on the local machine. If I set the target platform to x86 I get the error: An attempt was made to load a program with an inco...

Delphi 7 forms, anchors not working in Vista

The software is built on Delphi 7. On my XP machine, the form resizes as I expect. However, on two Vista machines, I have components with anchors set to [akLeft, akTop, akRight, akBottom], but when I resize the form, the components don't stretch with the form, leaving blank spaces on the right and bottom edge. On the XP machine, the com...

Does 64-bit Windows use KERNEL64?

I was looking at some libraries with dumpbin and I noticed that all the 64-bit versions were linked to KERNEL32. Is there no KERNEL64 on 64-bit Windows? If not, why? All my operating systems are 32-bit so I can't just look. A google search brings up nothing worthwhile so I suspect that there is no KERNEL64 but I'm still curious as to...