x64

OverFlowException on Oracle ODBC RowCount

Hi, I'm using NHibernate to select an entity from an Oracle database through ODBC. This works fine on a 32bit system, but on x64 the following error occurs: It seems the rowcount is not in a correct format? (ODBC part) Arithmetic operation resulted in an overflow. at System.Data.Odbc.OdbcStatementHandle.RowCount(SQLLEN& rowCount)...

Compile both x86 and x64 in one configuration?

Greetings all, I'm working with a C# solution in VS 2010. Right now, since I'm targeting AnyCPU, when I want to build my installer, I can just select Release mode and hit build and everything is done for me. However, pretty soon I'm going to have to add a C++ DLL project to the solution to accomplish some low-level stuff. To avoid ha...

C# How do you get the operating system architecture (x86 or x64)?

Possible Duplicate: How to detect Windows 64 bit platform with .net? How can I retrieve the operating system architecture (x86 or x64) with .NET 2.0? I have not found any good method to get the OS architecture on Google. What I found was how to tell whether the process is 32-bit or 64-bit. If there isn't anyway to find out i...

How to encode an AVI from x64 .Net Application?

I have a .Net application which we compile in both x86 and x64 bit. One feature is the video export to avi, but on the x64 version this doesn't work. The reason, I think, is that it uses the win32 dll called AviFil32.dll to encode the avis, and this doesn't like being called by a x64 process. Originally I thought the problem was a lack ...

fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

hi, i ve same problem. i ve setup all configuration which is mentions in below points but can't find any solution Configuration points are To choose the x64 platform, click Build > Configuration Manager. Under Active Solution Platform, select In the dialog that comes up, select x64 as the new platform (it may come up by default) and...

printf: how to explain corrupted result

#include <stdio.h> int main(void) { double resd = 0.000116; long long resi = 0; printf("%lld %f %lld %f\n", resd, resd, resi, resi); return 0; } gives (Linux, gcc, x64) 0 0.000116 0 0.000116 ^^^^^^^^ odd, since the memory for resi is zeroed Actually, compiled with g++ it gives random r...

Can I test an x64 version of my application on an x86 machine?

Hello. My laptop is running an x86 version of Windows XP. An application we've developed has problems with people running x64 machines. Is there a way to simulate an x64 machine on an x86 machine? Thanks. ...

Compiling libcurl x86 on Linux x64

I've cross-compiled the bulk of my 32-bit code on my x64 Ubuntu install, but I can't work out how to do the same trick with libcurl. I've tried many permutations of --host and/or --build i486, x86, etc. but none have helped. I've also tried editing the makefiles to include gcc's -m32 flag manually, but it never shows up when I run them....

How can a 64-bit process have a 32-bit view of file system and registry?

For backwards compatibility, my 64 process needs to see the the 32-bit view of the file system and registry. I know how to make a 32-bit process see a 64-bit view of the file system and registry (using Wow64DisableWow64FsRedirection and Wow64RevertWow64FsRedirection) But how do I make a 64 bit process have a 32 bit view of the file sys...

Vs 2010 Sql DB Project fails in x64

Tried to create a SQL 2005 DB project. In Vs, New Project >> Sql Server 2005 Database project. I right click the project in solution explorer. I get this error message: An error occurred trying to load the project properties window. Close the window and try again. Cannot evaluate the item metadata "%(FullPath)". The item metadata "%(Fu...

Why does using IIS7.5's Microsoft.Web.Management.dll only work in a 64bit process?

I'm writing some code to permit users to remotely manage IIS7. Under the bonnet this adds authorisation rules to c:\windows\system32\inetsrv\config\administration.config under the following config section: system.webServer/management/authorization/authorizationRules I'm using the Microsoft.Web.Administration assembly and namespace ...

Installing a Ruby version with rvm froze my computer--can I test to see if it installed correctly?

I recently refreshed my Linux installation with Mint 9 (based on Ubuntu 10.04) 64-bit, no Ruby packages at all, and started with a clean install of rvm. But when I ran rvm install 1.9.2, after half an hour or so of some heavy CPU usage the computer froze altogether. I powered down and restarted it, and rvm tells me that ruby-1.9.2-p0 is...

Infamous assembly binding error

Hello, I really need help on this because I lost my hopes to correct the problem. I am using Office Communications Server 64bit libraries. There are 3 dlls I use in the project, Microsoft.Rtc.Collaboration.dll, Microsoft.Rtc.Internal.Media.dll and SIPEPS.dll. I am not sure about Microsoft.Rtc.Collaboration but Internal.Media and SIPEPS ...

Missing entry point for x64 DLL project

I create a simple dll project with visual studio 2010 wizard, haven't filled any code. When I build it on Win32 platform, everything works fine. The problem is when I switch to x64 platform, there is Link error. 2>LINK : fatal error LNK1561: entry point must be defined The export marco has been define in the stdafx.h like: #define A...

Loading x86 or x64 assembly

I have two versions of System.Data.SQLite.DLL - for x86 and x64 platform. The x86 version keeps in application folder and x64 version keeps in appFolder\x64 folder. The application compiled as AnyCPU. How can i load needed version of SQLite according to windows platform? ...

Is int ever needed on x64?

C code targeting x64, as has been previously discussed, should always use size_t instead of int for things like counts and array indexes. Given that, it would arguably be simpler and less error prone to just standardize on size_t (typedef'd to something shorter) instead of int as the usual integer type across the entire code base. Is t...

Can I install both x86/x64 windbg on my x64 WIN7?

I need to analysis some x86 dump file, So I want to install the x86 windbg on my computer. or if I can use the x64 windbg to analysis the x86 dump file? ...

Crash in program using OpenMP, x64 only

The program below crashes when I build it in Release x64 (all other configurations run fine). Am I doing it wrong or is it an OpenMP issue? Well-grounded workarounds are highly appreciated. To reproduce build a project (console application) with the code below. Build with /openmp and /GL and (/O1 or /O2 or /Ox) options in Release x64 c...

VS2008 Professional trial does not show x64 option

I've VS2008 Professional trial obn windows 7 64 bit installed at the moment and its not giving me any other option other than Win32. Creating x64 nmanually doesnt work, 64 bit compiler are there. Driving me nuts.. Need the service pack? http://www.visualstudiodev.com/visual-studio-setup-installation/cant-create-x64-configurations-compil...

How to code C in a x64 bit machine ?

My new PC is Dell Inspiron 580s which is a x64 machine. Before which I used to code in TURBO C++ in my x86 machine. Since I was unable to run TURBO C++ in the new system. I installed NetBeans 6 IDE for which we need to install the compiler (CYGWIN) manually and so I did. But I'm unable to code in NetBeans. After lots of search I heard ...