64bit

64 bits stuff for C# development

Hello, I don't know if here is the correct place to put this question.. but let'se. I'm updating my system environment with windows seven 64 bits, and I want to know what programs and IDEs I can use in 64bits version without problems. Someone have bad/good experiences with 64 enviroment? Nowadays I use: Visual Studio 2008 Tortoise ...

Is Visual Studio 2010 WebDev WebServer (Cassini) 64-bit compatible?

I'm now developing on Visual Studio 2008 on a 64-bit OS (Windows Server 2008 64-bit). While the apps I write are 64-bit capable, as is IIS7, the built-in ASP.NET Development Server (aka Cassini aka WebDev.Webserver.exe) runs as 32-bit. This brings up a plethora of issues, such as: 32-bit and 64-bit applications have separate HKLM\Sof...

Why can't I get GetPrivateProfileString to work via pinvoke?

Running a c# console app I wrote on 64 bit Vista. Here's the code: class Class1 { static void Main(string[] args) { Debug.Assert(File.Exists(@"c:\test.ini")); StringBuilder sb = new StringBuilder(500); uint res = GetPrivateProfileString("AppName", "KeyName", "", sb, sb.Capacity, @"c:\test.ini"); C...

Rails / Snow Leopard Mysql 64-bit question

Hey all, I'm trying to install 64-bit MySQL on Snow Leopard for a rails app. I've installed it from the dmg and I can get to mysql fine from the command line. Based on various blog posts as well as the other topics here on Stack, I shut down mysql, uninstall the mysql gem, and then try to update the gem with the following: sudo env ARC...

Size of pid_t, uid_t, gid_t on Linux

On Linux systems (either 32- or 64-bit), what is the size of pid_t, uid_t, and gid_t? ...

ARCHFLAGS not taking command (MySQL 64-bit ruby gem installation issues on Snow Leopard)

Hello all, I've never used the ARCHFLAGS command before and am in way over my head. I'm struggling with getting the MySQL gem working on Snow Leopard in 64 bit. What I'm doing is this command: sudo env ARCHFLAGS='-arch x86_64' gem install --verbose --no-rdoc --no-ri mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config The...

Cannot export a 32-bit ServicedComponent from COM+ Catalog using Windows 7 or Windows Server 2008 64-bit

Using Windows 2003 Server or 2000, generating a COM+ application proxy for use on another system, includes .NET Enterprise Services components within the MSI package created during export. The .NET components are also registered in the GAC and regsvcs runs automatically during installation of the application proxy. However, we have dis...

How can I create a std::vector with 64 bit indexes?

I want to create a big std::vector so operator[] should receive long long rather than unsigned int, I tried writing my own allocator: template <typename T> struct allocator64 : std::allocator<T> { typedef long long difference_type; typedef unsigned long long size_type; }; But when I try the following: long long n = 5; std::ve...

Linking 32-bit library to 64-bit program

Hi! I have a 32-bit .so binary-only library and I have to generate 64-bit program that uses it. Is there a way to wrap or convert it, so it can be used with 64-bit program? ...

Mac/Django error message: "/mercurial/osutil.so: no appropriate 64-bit architecture"

I'm new to Macs (and quite new to Django) and I'm setting up an existing Django/MySQL site that uses Mercurial as a site package, on a new Macbook Pro. All was going well during installation - no error messages. I installed the default versions of most packages from macports. However when I try runserver, localhost shows the followin...

Delphi compatibility with Windows 2008 Server 64 bit

I have a plan to install my application which is compiled using RAD2010 in Vista 32 bit dev. environment, in a win 2008 server 64 bit. I use Firebird 2.0 (32 bit) as database server. Is there any issue? Or it should run without any problem? ...

How do I connect to my 64-bit SQL Server with ODBC?

I recently installed SQL Server 2008 Express on my Windows 7 Ultimate x64 home machine. I also have IIS 7.5 with PHP 5.3, and I was trying to connect to SQL via ADODB, but kept getting this error: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application After doing a small...

Uncertified Windows Driver

OK, I am working on developing a USB device. I have created a custom windows driver for the device based on a pre-made Windows driver from my MCU manufacturer. The driver works fine on Windows XP, and Windows 7 (32-bit), BUT on my Windows 7 64-Bit machine, it will not let me use the driver. The driver will install just fine but when i go...

same wix for 32 bit / 64 bit - how do I create conditional steps?

I'm trying to create a custom step in Wix(*), which will depend on the platform - 32 vs 64bit. any suggestions how to do that? (using WIX and not external stuff like writing a script) (*) I need to use the appropriate InstallUtil version to install my snapin on a 64 bit / 32 bit machine. ...

"dlopen: no suitable image found" in Mercurial

I've got a nasty feeling this is something to do with using 32-bit Python and/or 64-bit Mercurial, but I'm new to Macs and I don't fully understand the background. I'm running Django and I've got Mercurial and Python 2.6 installed (in both cases, the default versions from Macports). I've set 32-bit Python as an environment variable: ex...

get the filesize of very large .gz file on a 64bit platform

According to the specifiction of gz the filesize is saved in the last 4bytes of a .gz file. I have created 2 files with dd if=/dev/urandom of=500M bs=1024 count=500000 dd if=/dev/urandom of=5G bs=1024 count=5000000 I gziped them gzip 500M 5G I checked the last 4 bytes doing tail -c4 500M|od -I (returns 512000000 as expected)...

how do I read a huge .gz file (more than 5 gig uncompressed) in c

I have some .gz compressed files which is around 5-7gig uncompressed. These are flatfiles. I've written a program that takes a uncompressed file, and reads it line per line, which works perfectly. Now I want to be able to open the compressed files inmemory and run my little program. I've looked into zlib but I can't find a good soluti...

Problem with unregistered Jet 4.0 on Windows 7 64 bit

I am trying to run a program, running on the hard drive, that uses Microsoft Jet OleDB to open and get info from an MS Access database. The problem is that when I try to run the program Visual Studio gives me this error: "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine." I tried building the program to tar...

Converting Word doc to tiff

I run Word 2003 in unattended process to convert a word doc file into a tiff. Word is configured to print to Microsoft Office Document Image driver and then pick up the generated file. It works fine on a 32 bit OS. Now we need to migrate this app on a 64 bit OS and it looks like there is no such driver in the Office 2003 installation on...

Should I provide an x64 build of my application?

Perhaps I'm missing a major point of the x64 platform here, but my perception was that x64 applications were only better performing than x86 versions (on an x64 OS and hardware, obviously) when large amounts of memory, large pointers, or other demanding factors were involved. However, I've started to notice some smaller applications off...