64bit

Should I use a 32-bit or 64-bit OS for a development machine?

I remember hearing that for performance a development machine should be 32 bit, while servers should be 64 bit. I think it was Richard Campell on Dot Net Rocks! that mentioned this. Why would 32-bit be faster than the 64-bit for a development box and vice versa for servers? ...

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

0xDEADBEEF equivalent for 64 bit development?

For C++ development for 32-bit systems (be it Linux, Mac OS or Windows, PowerPC or x86) I have initialised pointers that would otherwise be undefined (e.g. they can not immediately get a proper value) like so: int *pInt = reinterpret_cast<int *>(0xDEADBEEF); (To save typing and being DRY the right-hand side would normally be in a ...

In C++, what is the difference between 1 and 1i64?

I'm converting some 32-bit compatible code into 64-bit - and I've hit a snag. I'm compiling a VS2008 x64 project, and I receive this warning: warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) Here's the original line of code: if ((j & (1 << k)) != 0) { And here's what it look...

Prepare a 64bit setup.exe from basic msi project Installshield 2009 premier

I'm deploying 64bit dlls, exes by setting each component's 64bit component = yes and setting "General Information->Summary INformation Stream->Template Summary = x64;1033". All things are ok, but the produced setup.exe when i run it, from task manager i notice its a 32 bit exe. How to make it a 64bit exe? Why I wanna do it: In custom a...

DSOFRAMER and 64bit

We've been using dsoframer to embed excel into our .Net app. Small quicks aside, it works great. Doesn't seem to work on a 64bit machine though. Has anyone had any luck with this? Recompiling the interop/source maybe? dsoframer is a C++ ActiveX control so this makes sense... just wondering if anyone has done the work already or if...

Cannot get StandardOutput for some process calls in cassini or unit test on win7 64

I am having trouble reading the output from a process when running several processes from .net. One example is the 'netsh' command. I am trying to read all scopes from a dhcp server. It is only failing in web applications and unit tests. In the below code the 'message' is an empty string. var arguments = @"-r myDhcpServer.myDomain dh...

Problem in using WaitForSingleObject on 64bit OS

Hi! I am using WaitForSingleObject from (kernel32.dll) in my program. It is working fine on 32bit Windows XP, but when I use it on 64bit WindowsXP, it is not working. The problem is that it doesn't wait for the process and control moves forward. Does anyone have any idea on why? Is there any replacement for that method in WinXP 6...

dbxtool on 64-bit linux won't load 64-bit version of dbx?

I am using the Linux version of dbxtool to debug a 64-bit programme called frankie: file ../support/frankie ../support/frankie: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped When I attempt to load the executable within dbxtool, I g...

How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake

Is it possible to compile a project in 32-bit with cmake and gcc on a 64-bit system? It probably is, but how do I do it? When I tried it the "ignorant" way, without setting any parameters/flags/etc, just setting LD_LIBRARY_PATH to find the linked libraries in ~/tools/lib it seems to ignore it and only look in subdirectories named lib64....

SSIS can't find 32-bit ODBC Driver in Debug mode

I am on a 64-bit Windows 2008 server. In SSIS I have an ADO.NET Data Flow Item connected to an ODBC connection. Preview works fine. When I execute in DEBUG mode the following exception is thrown: [ADO NET Source [53]] Error: System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no ...

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

Classic ASP using COM+ .Net Interop 64 Bit Windows Server 2008 IIS 7 Server.CreateObject Fails

I am having an issue related to executing a .Net dll from a classic asp application on a 64 Bit Windows Server 2008 server running IIS7. The situation is as follows: I have written a .Net C# assembly to perform some encryption tasks. This assembly has been made available to the classic ASP environment via inheriting from ServicedCompo...

Deploying mvc project to iis 6.0

I am trying to deploy my mvc project on windows server 2003 IIS6. I have enabled the wildcard mapping .net framework 3.5 sp1 and mvc 1.0 is installed on the machine I am still getting 404 when I try to access the site What other steps should I debug to solve this problem? Ps: Other non-mvc .net project is running fine on the machine...

What are the lower level advantages and disadvantages of 64-bit/32-bit?

I'm sure we've all heard the terms 64bit and 32bit thrown around, but what do they actually mean? I'm pretty sure they have to do with the size of a memory address. On a 64bit machine, a reference to an object is 64 bits. But I want to dig a little deeper.... One often hears the phrase "64bit machine." What part of the computer is act...

Python get wrong value for os.environ["ProgramFiles"] on 64bit vista

Python 2.4.3 on a Vista64 machine. The following 2 variables are in the environment: ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) But when I run the following import os print os.environ["ProgramFiles"] print os.environ["ProgramFiles(x86)"] I get: C:\Program Files (x86) C:\Program Files (x86) Any idea how ...

Processor, OS : 32bit, 64 bit

I am new to programming and come from a non-CS background (no formal degree). I mostly program winforms using C#. I am confused about 32 bit and 64 bit.... I mean, have heard about 32 bit OS, 32 bit processor and based on which a program can have maximum memory. How it affects the speed of a program. There are lot more questions which k...

Does Mono support 64bit Windows?

Hi, On this page, http://www.mono-project.com/Supported%5FPlatforms, 64bit windows isn't listed as a supported platform. However, I keep getting the feeling that it's supported (the x64 codegenerator works...). Can anyone conclusively confirm this theory? Thanks ...

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"), ...

Problem loading quaqua 64 libraries

Everytime my app loads I get the following error in the console: Warning: class ch.randelshofer.quaqua.osx.Application couldn't load library "quaqua64". java.lang.UnsatisfiedLinkError: no quaqua64 in java.library.path I thought this would be resolved by adding libquaqua64.jnlib to the resource directory that contian my libquaqua.jnli...