x64

Have visual studio copy x64 DLL or x86 DLL when building a C# project

We're building a C# app that uses an external DLL for Sqlite.NET. This is a .NET dll but it embeds a C dll inside it and so it comes in x86 and x64 flavours. We add a reference to the x86 version in the project so when we build and run on x86 it's fine. Visual studio copies the dll to the bin folder and runs. On x64 it still copies t...

Usb Driver on 64bit Windows

I have a pretty generic 64bit driver based on bulkusb.sys in WDK. It's been working for years with an embedded program, but now it is needed to work on Vista 64. From all the documentation I've tried to look through there doesn't seem to be anything affecting it, except compiling it for the 64bit environment, and yet when I compile it wi...

Hosting a 32bit OCX inside a 64bit process (specifically Flash)

We are in the process of building a 64bit version of our software, but we use Flash player's OCX control to host Flash in our windows. This OCX file is a 32bit build, do you know if it's possible to host this 32bit version of Flash within our 64bit application? ...

Why do I get "Error 6060" when I try to use DBD::Advantage with a 64-bit perl on Linux?

I realize that I am attempting to go beyond the "supported" behavior of the manf's released drivers for Perl, after all they have only released it in package with x86 .so's. However, since I cannot use their package with x64 Perl on a RHEL 5.4 x86_64 box, and maintaining a seperate install of x86 Perl just for this one package, I have m...

How to determine if dll file was compiled as x64 or x86 bit using either Delphi or Lazarus

Using either Delphi 2007+ or Lazarus(Win64) I'm looking for a way to determine if a dll is compiled as x64 or x86? ...

.NET version with 64-bit versus 32-bit assemblies

What version of .NET (64-bit vs. 32-bit) will be loaded if some of the assemblies referenced in an app are compiled with 32-bit only (instead of AnyMachine) setting? Will the app still run as 64-bit or will it be forced to run as 32-bit if at least one of the referenced assemblies is compiled as 32-bit only? The app is running .NET 3.5...

Diagnosing problem with running ASP.NET app as 64-bit

I need to run an ASP.NET app as 64-bit. The app is quite large and has MANY assemblies to load. When I run it I am getting "is not a valid Win32 application" error in the web page as soon as I go to the first page. That page is a very simple "Hello World" page. However, it must be having problem with loading assemblies as 64-bit. Ho...

WinDbg fails to find symbol file reporting 'unrecognized OMF sig'

I have received a 64bit dump of a 32bit app that was running on Win7 x64. I am able to load it in WinDbg (hint: !wow64exts.sw) running on a 64bit OS. The symbols for most of my dlls are loaded properly. The pdb for one though does not load. The same pdb does load properly for the same dll when reading a 32bit dump on a different syst...

Sporadic EXC_BAD_INSTRUCTION (SIGILL) when in 64 bit mode

For some reason for a low-number of users (say 1 in a few hundred) the application seem to crash when run in 64bit mode on a Snow Leopard 10.6.3 I've attached the stack traces. The crashed seem to be random in com.apple.AppKit at random locations and random moments. Anyone else had any experiences? Using GCC compiler of Xcode 3.2.2 Cr...

OpenSSL Windows x64 Compilation error

Hi, I'm getting the following error when trying to compile OpenSSL 1.0, 64 bit: ias -o tmp32\ia64cpuid.obj tmp32\ia64cpuid.asm 'ias' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'ias' : return code '0x1' Stop. Does someone know what can I do? (I do it on Windows ...

R: Is it possible to use RGL in x64 Windows?

Is it possible to use the R package 'RGL' in x64 Windows? RGL Website ...

How to best future proof my application that needs to connect to Outlook?

I have a contact management application written in Delphi which has a “Sync with Outlook” feature that I developed 10 years ago. Now, I’m going back to add some features and fix some bugs. This sync feature uses the Outlook object model to get started, but it has an optional mode called “Use MAPI Enhancements” where it uses pure MAPI t...

Visual Studio loading the right (x86 or x64) dll!

Hi, I'm working on visual studio in an x86. I would like to build my application for both x32 and x64. But i need to use the sqlite .net connector wich has a dll for x86 apps and another dll for x64 apps. How do i configure my visual studio to load a reference when my configuration is x64 and another when my configuration is x86? Thanks...

Include a different jar for x32 and x64 bit operating systems

Hello Is there a way in Java to determine if the software is run on an x32 or x64 operating system - and in function of that - include a different jar during runtime? I am using qtjambi and they wrap the QT c and c++ libraties in an xxx_x32.jar and xxx_x64.jar Thanks for your feedback Marc ...

How to use Watin 64-bit with MSIE 32-bit

Hi, I have a C#-application running on Windows 7. I am using Watin to test some flash and quicktime movies in Internet Explorer. I am running in x64 mode due to some memory limitations I encountered in x86-mode. So I run my application which uses Watin, which starts MSIE. Watin starts the 64-bit version of MSIE. So far so good. The pro...

WiX installer that always installs to "Program Files" directory on both x86 and x64

I have a .NET application that runs on both x86 and x64. I'd like to have a 32 bit WiX installer that will work on both platforms but I'd like it to install to /Program Files/ rather than /Program Files (x86)/ on 64 bit operating systems. How do you go about doing this? Update: My idea was to assign the ProgramFilesFolder or ProgramFi...

C# reads wrong registry data on 64-bit OS

I'm working on a 64-bit Windows and my applicaiton runs with elevated privileges. I have a problem with the following very simple piece of code: myKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run"); if (myKey != null) { string[] HKLMvaluenames = myKey.GetValueNames(); } But for som...

Calling CryptUIWizDigitalSign from .NET on x64

I am trying to digitally sign files using the CryptUIWizDigitalSign function from a .NET 2.0 application compiled to AnyCPU. The call works fine when running on x86 but fails on x64, it also works on an x64 OS when compiled to x86. Any idea on how to better marshall or call from x64? The Win32exception returned is "Error encountered d...

How do I make ADB work on x64?

I tried installing the Android USB driver on my x64 machine and it fails. Does Android development not support 64 bit Windows, or am I possibly doing something wrong? ...

Storage requirements of primitive types in Win x64

For either List with n elements, which (if any) requires more storage on x64 machine: List<int> -or- List<long> I guess the question can be rephrased as: On x64, does an int take any less space than a long? ...