64bit

What to watch out for when writing 32-bit software on 64-bit machine?

I am purchasing a comfortable laptop for development but the only operating system available to me is 64-bit (Win7) , now I am basically aware that 64-bit has 8-byte integers and can utilize more RAM, that is about it. My programming will vary (C++, sometimes PHP) but would like to know: Can I build my C++ application to be 32-bit por...

Multiple 32bit processes on 64bit IIS - memory limit?

I've got a legacy ASP web application that uses a VB6 DLL. The app is quite memory hungry. I need to run multiple instances of the app on one machine. Now since VB6 DLLs are 32bit only, running in a 64bit process is out - but what if I ran multiple 32bit IIS app pools? Would the memory limit of 1.2 GB per kick in per app pool, or would t...

lua 64-bit transitioning issue

Hi, I really hope there is some help to get on this subject. Has anyone ever used lua in an application that needs to have both 32-bit and 64-bit support? We are currently transitioning to 64-bit but are having trouble with client compiled lua scripts that we can't recompile ourselves using the 64-bit version. So in effect we need to be...

Visual Studio 2010 managed c++ targets .NET 2.0 PROBLEM

For someone who's been down this road, please share your breadcrumbs. I have old VS2005 solution. Most of the parts are c# but I have one c++ managed project. Dev machine: Windows XP. Target framework version: 2.0 I moved the project to the Windows 7 64 BIT, VS 2010, did the project conversion. First thing I noticed were build erro...

Process command line in Linux 64 bit

I have problems accessing the process command line from Linux 64 bit Assembly program. To reproduce this with minimal code, I made this 32-bit program which prints first 5 characters of the program name: .section .text .globl _start _start: movl %esp, %ebp movl $4, %eax # write movl $1, %ebx # stdout movl 4(%ebp), ...

Memory requirements of an Object reference on a 64 bit JVM

A reference to an Object on a 32 bit JVM (at least on Hotspot) takes up 4 bytes. Does the 64 bit Hotspot JVM need 8 bytes? Or is some clever compression going on? If not, every Object[] would require twice as much heap memory, which I somehow think (hope, expect) is not the case. Update/extra question: Does this really matter, or is th...

MercurialEclipse on Windows 7 64bit: doesn't install "Windows Binaries for Mercurial"

Hi, set up my machine at work (WXP 32bit) and MercurialEclipse in Eclipse Helios from market place worked without problems. At home I did the same procedure but on W7Pro 64bit. MercurialEclipse itself got installed, but it errored out upon Workspace restart that the hg command was not found; and it's true, there was none installed. Co...

IFilterSample in 64bit Windows

Has anyone gotten the IFilter sample from Microsoft to work on 64bit Windows 7? I am following the exact steps in the Readme.txt and I don't get the search to return the proper results. Is there something I need to do to get this to work on 64bit windows that I am overlooking? Thanks, Jeff ...

Outlook 64 bit using Redemption 64 bit from 32 bit application

I have a 32bit Delphi application which needs to use Redemption to talk with Outlook. For deployment on 64 bit machines with 64 bit Outlook installed, Redemption has a 64 bit version of its COM dll. Redemption is registered properly and can be used from a test program made in C#, but when trying to access Redemption from the 32 bit Delp...

Size of references in 64bit environments

Came across this one while browsing the response to another question on SO (References Vs Variable Gets). My question is that for all 64bit environments is it guaranteed that a reference to a variable will be of 64 bits even if the original had a lesser size? As in char references in 64bit environment would be >sizeof(char)? Is there any...

Can I use a library which references an unavailable assembly, if it's not used?

I have a library X, which has a class C which used component Y. However, Y isn't available in 64 bit, so it's been replaced by component Z, but I want to still use Y when available. So I would like to reference Y and Z and then have C.vb: #If 32bit then Class C // implementation of C using Y End Class #End If C64.vb #If 64bit then ...

running PIL on 64bit

Is there any way of running PIL(Python Imaging Library) on a 64bit OS? it is windows 7 64bit ...

Linking problem with FreeMagic & GraphicsMagic

Whenever I link in either FreeMagic & GraphicsMagic, i get a SIGABRT as soon as main starts, possibly even before. Any ideas? It is not sufficient to just add the link flags, but for instance adding the call to FreeImage_Initialise(FALSE); somewhere in main() makes the program die in a SIGABRT. Stacktrace from where it crashes: #0 0...

What if DirectoryInfo.GetFiles().Length exceeds Int32.MaxValue?

By another question about the maximum number of files in a folder, I noticed that DirectoryInfo.GetFiles().Length is returning a System.In32, but the Maximum value of a Int32 is 2.147.483.647 (Int32.MaxValue) while on NTFS (an many other filesystems) the maximum number of files can go far beyond that. on NTFS it is 4.294....

PHP5.3 hangs IIS6 on windows2003 64bit

I am setting up php 64bit on IIS6 (windows 2k3 ). The need is I want my existing website(classic asp) to include a wordpress blog (mu) with friendly url. So want to install it as a subdirectory to the IIS website. I have single IP allocated. Could not get the 32 bit php environment working as per IISADMIN Upon setting up for 64bit php...

Python extensions for Win64 via GCC

Has anyone had any luck with compiling 64-bit Python extension modules for Windows using mingw64? I have successfully compiled the extension in question with VS2008 for this platform. I've also compiled it with mingw32 (with a 32-bit python). I would prefer both builds to use GCC. I've installed the mingw64-x86_64-w64 GCC 4.5.1 set of...

Which problems can be there in using win32 applications that handle office 2010 64 bit files?

I am testing one application that handles files (stored in sql server using filestream). It is a Delphi win32 application. Opening a xls document stored in the db (originally saved with Office 2003) gives an error from Excel 2010 64bit. Is there some known compatibility issues with Office 2010 64bit with win32 applications? i am tryi...

ComponentModel.LicenseException on Windows 7 for licensed control

I have a project that works fine under Visual Studio 2008 on Windows XP. I'm setting up a Windows 7 64-bit system with Visual Studio 2008 and I have found that one of my licensed controls fails its license check. On compiles I get this error: Exception occurred creating type 'Sax.Barcodes.Barcode, Sax.Barcodes, Version=1.2.0.0, Cul...

Eclipse 32 bits running on 64 bits JVM

Hi there, After many investigations I can't find a clear answer to the following question: Can Eclipse 32 bits version runs on a 64 bits JVM (of course on a 64 bits windows) ? I guess the answer should be "NO" but I never worked with 64 bits systems and will be interested to "learn more" of how it work. Thanks in advance, Manu ...

CMake generate Visual Studio 2008 solution for Win32 and x64

I am using CMake 2.8 under Windows XP and want to generate a Visual Studio 2008 solution file which contains Release and Debug configurations for both Win32 and x64. Can this be done by setting a CMake configuration variable in the CMakeLists.txt file? ...