32bit

How do I run a VBScript in 32-bit mode on a 64-bit machine?

I have a text file that ends with .vbs that I have written the following in: Set Conn = CreateObject("ADODB.Connection") Conn.Provider = "Microsoft.ACE.OLEDB.12.0" Conn.Properties("Data Source") = "C:\dummy.accdb" Conn.Properties("Jet OLEDB:Database Password") = "pass" Conn.Open Conn.Close Set Conn = Nothing When I execute this on a W...

Issue running 32-bit executable on 64-bit Windows

I'll add 500 of my own rep as a bounty when SO lets me. I'm using wkhtmltopdf to convert HTML web pages to PDFs. This works perfectly on my 32-bit dev server [unfortunately, I can't ship my machine :-p ]. However, when I deploy to the web application's 64-bit server the following errors are displayed: (running from cmd.exe) C:\>...

Biggest int array that a computer can handle?

I need to create an array as big as possible on my 32bit Linux computer. What is the biggest array size that my computer can handle? Is it 2^32 ? ...

'Microsoft.ACE.OLEDB.12.0' 64x Sql Server and 86x Office???

The error: OLE DB provider 'Microsoft.ACE.OLEDB.12.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode. And the answers I'm seeing is a conflict between 64 bit Sql Server and 32 bit Office. Is there a way to run an openrowset on Excel into Sql Server? insert into dbo.Fi...

How to reliably specialize template with intptr_t in 32 and 64 bit environments?

I have a template I want to specialize with two int types, one of them plain old int and another one is intptr_t. On 64 bit platform they have different sizes and I can do that with ease but on 32 bit both types are the same and compiler throws an error about redefinition. What can I do to fix it except for disabling one of definitions o...

.NET 3.5SP1 64-bit memory model vs. 32-bit memory model

As I understand it, the .NET memory model on a 32-bit machine guarantees 32-bit word writes and reads to be atomic operations but does not provide this guarantee on 64-bit words. I have written a quick tool to demonstrate this effect on a Windows XP 32-bit OS and am getting results consistent with that memory model description. However,...

Log off from Remote Desktop Session does not closing Session, showing the login screen again on Windows XP 32 Bit - SP2

As per requirement we have written one custom GINA. I have observed one interesting behavior in Windows XP 32 Bit(SP2). Customized GINA internally calls windows default Windows GINA (msgina.dll) and shows one extra window as per our requirement. I used to do remote desktop to XP machine from my machine. After replacing Windows GINA with...

VS build - 32 bit vs 64

ASP.NET 4.0: My laptop is running 64-bit Win7 Ultimate, using VS 2010 and IIS7. My dev, staging and production servers are all 32-bit 2003 Server with IIS6 (obviously). Questions: I know this is really unsupported, but is there any way I can get IIS6 to run on my laptop under Win7? It'd be nice to keep the configuration consistent b...

C# WinForm app with many assemblies forcing 32-bit

I have a VS solution with many assemblies and third-party utilities. I need to force the app to run 32-bit when running on a 64-bit machine. The app runs just fine on a 32-bit machine. I forced the .exe file to be ILONLY 32BITREQUIRED and when run on the 64-bit machine, I am getting "an attempt was made to load a program with an incor...

Converting a decimal value to a 32bit floating-point hexadecimal

For a simple utility I'm working on, I need a script that converts a given decimal value to a 32bit floating-point hexadecimal value. For example, I know 1 is 3F800000 and 100 is 42C80000, however I don't know how to return these results with any number. If somebody knows a simple formula or even a complex way to go about doing this, ple...

32 bit OLE DB driver on 64 bit windows 7

Hi. We are running 64 bit windows 7 with 64 bit office 2010. We have a custom 32 bit OLEDB driver installed but it doesn't show up in the list of data providers when trying to import data into Excel. I've heard that 64 bit and 32 bit don't go well together and that you need to run 32 bit drivers inside the wow64 emulator but how can w...

.NET 3.5 Web Application - Porting to 64Bit - Potential issues

Hi, I have an existing ASP.net 3.5 web application. This is tested and working in a 32 bit environment. There is a plan to move this application to a 64 bit environment. As a first step, the plan is to compile the entire application in "Any CPU" Is anyone aware of any plan / checklists that can be used in porting from 32-bit to 64-bit...

[C++] Skipping Incompatible Libraries at compile

When I try to compile a copy of my project on my local machine, I get an error stating that it 's skipping over incompatible libraries. This isn't the case when I'm messing around with the live version hosted on the server at work [it makes perfectly there]. Various other sites have lead me to believe that this might be an environment ...

Learning 32-bit assembly

I want to learn 32-bit assembly. I got some programming background, mostly high-level languages but also 16-bit ASM. I want to write real simple console applications for Windows (I remember something vague about some difference between Windows and Linux, maybe just when creating graphical applications?). Any ideas where to start? ...

32-bit Java on 64-bit OS: is there a limit to number of JVMs?

I have a Solaris sparc (64-bit) server, which has 16 GB of memory. There are a lot of small Java processes running on it, but today I got the "Could not reserve enough space for object heap" error when trying to launch a new one. I was surprised, since there was still more than 4GB free on the server. The new process was able to succe...

Which variation of Windows 7 (32/64) has a foreground window activation bug?

Recently I developed a program that should run a process and make it foreground. Everything was ok except for one case: when there's a full-screen application active currently, the one that due to non-captioned styles and screen dimensions hides tasbar and fills all the area of the screen. In this case in Windows 7 the running applicatio...

Install Ruby 1.9.2 on Mac OSX 10.6 with 32bit version

Hi, I have started with Ruby app development and I see that there are many Ruby Gems which don't work on 64bit (which I have installed right now). Their moderators have suggested to use 32bit build for Snow Leopard(10.6). I went to Ruby's website, but didn't find a separate installer for Ruby 1.9.2 for 32bit 10.6 So, how do I fix it? ...

dokan "driver install failed"

Hi everybody, I am trying to install the Dokan driver on my machine. I have downloaded the source code and have installed the Windows Drivers Kit. Using the build environment, I built and copied dokan.sys to C:\WINDOWS\system32\drivers, as well as dokan.dll, dokanctl.exe & mounter.exe to C:\WINDOWS\system32. I then try to run dokanctl....

Handling large dense matrices in python.

Basically, what is the best way to go about storing and using dense matrices in python? I have a project that generates similarity metrics between every item in an array. Each item is a custom class, and stores a pointer to the other class and a number representing it's "closeness" to that class. Right now, it works brilliantly up to ...

C++ Reading signed 32-bit integer value

Hi everyone, I have a multi-byte primitive type called s32 which I want to read from a byte array. The specifications are: It is a 32-bit signed integer value, stored in little-endian order. Negative integers are represented using 2's complement. It uses 1 to 5 bytes depending on the magnitude. Each byte contributes its low seven ...