64bit

Accessing Registry using .Net?

Hello Everyone, I am finding a strange behavior with a .Net module accessing registry using RegistryKey class. For eg I have written .Net module testcom.dll which access registry. This testcom.dll is used both by native 32 bit application and 64 bit application. My requirement is to get the value of a regkey (path being HKEY_LOCAL_MACHIN...

Build 32-bit with 64-bit llvm-gcc

I have a 64-bit version of llvm-gcc, but I want to be able to build both 32-bit and 64-bit binaries. Is there a flag for this? I tried passing -m32 (which works on the regular gcc), but I get an error message like this: [jay@andesite]$ llvm-gcc -m32 test.c -o test Warning: Generation of 64-bit code for a 32-bit processor requested. Warn...

Does anyone have experience using the Affirma ThreeSharp library on a 64 bit machine?

I have been developing and testing the ThreeSharp library on a 32bit Vista machine with no problems. However, when I deploy to a 64 bit machine the application will start ok then dramatically slow down after about 1 minute and terminate without any message. When I look into the logs I see "Application Error, faulting module KERNEL32.dll"...

Multi thread .NET application causes Application Error in KERNEL32.dll running on 64 bit quad core Windows Server.

I have a multi-threaded .NET application that occasionally terminates without any message. When I check the log there is an entry for an "Application Error in KERNEL32.dll". What could be causing this? Here is some basic code: foreach (int id in ids) { ThreadPool.QueueUserWorkItem(new WaitCallback(ProcessData), id); } The ProcessDa...

Why does my Crystal Reports for Visual Studio 2008 throw "Load report Failed ... COMException (0x80004005): The Report Application Server failed" when sending a report directly to a printer?

I have a .net windows service that has a crystal report viewer on it. when it polls the db and finds live orders, it will send a report to a printer on the network. this is windows2003 server 64bit. I have installed the msi on the 64bit server found in my visual studio install: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrappe...

"Changes to 64-bit applications are not allowed" when debugging in Visual Studio 2008

I'm using Visual Studio 2008, C#. I try to use edit-and-continue (edit the code while debugging), and get this exception: "Changes to 64-bit applications are not allowed" Why is that? Is there a workaround? ...

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

Force x86 CLR on 'Any CPU' .NET assembly

In .NET, the 'Platform Target: Any CPU' compiler option allows a .NET assembly to run as 64bit on a x64 machine, and 32bit on an x86 machine. It is also possible to force an assembly to run as x86 on an x64 machine using the 'Platform Target: x86' compiler option. Is it possible to run an assembly with the 'Any CPU' flag, but determine ...

Best Ubuntu setup for 32-bit *AND* 64-bit Qt app development?

I'm developing a qt-based application and i would like to develop both 32 and 64bit version of the application on the same machine, sharing the same sources, scripts, etc.. The machine is an Ubuntu Jaunty 64bit, Intel Core i7, 8gb ram. I'm aware that by running VMWare or VirtualBox could get things working, however it doesn't seem to be...

debugging 64 bit dumps in visual studio

Is there any way to use visual studio to debug a dump of a 32 bit app that was produced on a 64 bit computer. I have got WinDbg working but the output is so jumbled i cant work out whats going on. Visual Studio 2008 ...

Python: how do I install SciPy on 64 bit Windows?

How do I install SciPy on my system? Update 1: for the NumPy part (that SciPy depends on) there is actually an installer for 64 bit Windows: numpy-1.3.0.win-amd64-py2.6.msi (is direct download URL, 2310144 bytes). Running the SciPy superpack installer results in this message in a dialog box: "Cannot install. Python version 2.6 require...

Internet Explorer 8 64bit and Selenium Not working.

I am trying to get selenium tests to run. Yet every time I try to run a tests that should run IE I get a error on line 863 of htmlutils.js It says that I should disable my popup blocker. The thing is I went to IE tools-> turn of popup block. So it is disabled and I get this error. Is there something else I need to disable. I actually d...

What's going to happen if I use OLE Automation to load up a 32 bit control in a 64 bit app?

The .NET application for which I'm responsible uses a third-party control that is only available as a 32 bit COM component. I've been banging my head against walls for a while trying to find a way to allow the component and the app to work together in 64-bit mode. We got some help from the control vendor - they don't plan on supplying ...

Dot net 2.0 application (Any CPU) running slow on 64bit os/processoer

Hi, My windows application is deveoped on .net 2.0 FW,and build using ANY CPU, development enviroment is 32bit OS + VS2005 Now i am deploying this application on 64bit processoer + 64bit OS it is running slow. But if i build using x86 (32bit) it is working fine without any issue on 64bit processoer + 64bit OS. I have 3rd pary comone...

C# PInvoking user32.dll on a 64 bit system

Is it wrong to pinvoke user32.dll on 64 bit Windows, from a 64 bit app? I've done this successfully a number of times and never had an error, but it seems contradictory. Should I look for user64.dll instead? ...

Computing high 64 bits of a 64x64 int product in C

Howdy folks, I would like my C function to efficiently compute the high 64 bits of the product of two 64 bit signed ints. I know how to do this in x86-64 assembly, with imulq and pulling the result out of %rdx. But I'm at a loss for how to write this in C at all, let alone coax the compiler to do it efficiently. Does anyone have any ...

Javascript Error while opening Infopath templates from within .Net webbrowser control on 64-bit Vista machines.

We have some browser enabled Infopath 2007 templates hosted on Windows Sharepoint server (Windows 2003 machines). We use a couple of 'Rich Textboxes' in these templates and these templates are made available to the end user via .Net windows application that used the WebBrowser control. The application runs just fine, but only on 64-bit...

Not able to enable LDAP on PHP 5.2.10 on 64 bit machine

I am trying to enable the LDAP extension for PHP 5.2.10 on a 64 bit windows 2003 server. I have followed the mandatory steps: Enabling the dll in php.ini Checking extensions directory. Ensuring that the dll is present in the extensions directory. Restarted the web server. However i have not been successful. Any help on how to procee...

How to also prepare for 64-bits when migrating to Delphi 2010 and Unicode

Hi, As 64 bits support is not expected in the next version it is no longer an option to wait for the possibility to migrate our existing code base to unicode and 64-bit in one go. However it would be nice if we could already prepare our code for 64-bit when doing our unicode translation. This will minimize impact in the event it will fin...

How should application perform in 64-bit vs. 32-bit intel architectures?

I want to know the relative performances of a normal C++ application in the following scenarios: Built as 32-bit app, run on Intel 64-bit processor (x64-64) Built as 32-bit app, run on Intel 32-bit processor (x86) Built as 64-bit app. Also, what factors should I consider when modifying / developing the application to make it to run f...