32bit

Services 32bit dlls on 64bit machine

Hi there! I've built and installed my service from vs2010 onto a 64bit machine. My problem comes in when my service references 32 bit dlls (spssio32.dll to be precise) - I get the error in my event viewer : "System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x800700...

SetWindowsHookEx failing in .NET 4.0 on 32-bit machine with "module not found"?

I have found similar questions on this page, but I can't seem to figure out how to interpret the answers or figure out if they are truly duplicates. Here are the possible duplicates I've found, with comments: SetWindowsHookEx returns 0 when compiling for the .NET 4.0 framework in 32bit machines It doesn't seem to return 0 on mine, bu...

Will 32-bit version of GhostScript work on 64-bit systems?

I'm going to redistribute gsdll32.dll, main library of GhostScript. There are two versions available for download, 32 and 64 bit. Will the first one work on 64-bit systems, or I need package two versions separately? ...

Addressing data using relative pointers (x86-32 assembler)

Hello. I'm writing in 32-bit x86 assembler, and I'm not quite sure how to address data that is always in the same relation to the code. Do I have to use EIP to calculate the absolute address, or is there a better way? ...

Building 32-bit Detours library

Hey, I'm using Detours library from microsoft, and I was using the 32bit version (which is free). I'm now on a 64-bit installation of windows 7 and I can't seem to compile Detours with nmake. Here is the error: Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. ...

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

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

I need to access a 32bit dll from a 64bit exe

I know I read all about surrogate process, and I was able to create a surrogate COM but it either all works in 32bit or all works in 64bit. What would be the correct structure? 1) 32.dll <- 64.com <- 64.exe 2) 32.dll <- 32.com <- 64.exe I tried both of the above but I did not succeed to call the 32.dll? ...

C# System.Diagnostics.Process: can't launch a 32 bit exe file in 64 bit OS

I have a 32 bit exe file compiled with Turbo Pascal. I need to launch it. It worked well when I had Windows 7 32 bit, but now I'm on Windows 7 64 bit, and I get the following exception: The specified executable is not a valid application for this OS platform. To make sure it works on 32 bit systems, I launched the C# program in a 3...

Are pyc files independent of the interpreter architecture?

From the tests I've done, with the same version of python (same magic number), a 64 bit interpreter can load pyc files made with a 32 bit version of python. And reciprocally I assume. But is it totally safe? Can this lead to unexpected behavior? ...

is it possible to build an app that runs in 32bit in Leopard but 32/64bit universal in Snow Leopard with XCode?

I need to load flashplayer with webkit. but even the latest 'square' flashplayer doesn't support 64bit in Leopard by default. Unless I use the flashplayer-10.6.plugin instead. since webkit use a pluginAgent in Snow Leopard when running in 64bit mode. it does't matter whether my app is 32bit or 64bit. but unfortunately, the pluginAgent is...

How are numbers greater than 2^32 handled by a 32 bit machine?

I am trying to understand how calculations involving numbers greater than 232 happen on a 32 bit machine. C code $ cat size.c #include<stdio.h> #include<math.h> int main() { printf ("max unsigned long long = %llu\n", (unsigned long long)(pow(2, 64) - 1)); } $ gcc output $ gcc size.c -o size $ ./size max unsigned long long ...

C# Sendkeys in Vista

Hi again, I was working on a macro program in C#, which used SendKeys.Send(Wait) and worked fine in Windows XP. Most people know that using sendkeys in Vista (32-bit) or above causes problems, but mine seems a little strange: When using: SendKeys.Send("B"); - It doesn't do anything. When using SendKeys.SendWait("B"); - It sends about...

Size of a C++ array in 64 vs 32 bit environment

Hi, suppose I have a class defined as follows class foo { char [10] bar; } How would the size of this class differ when in a 64 bit environment compared to a 32 bit one, assuming no padding/packing. I believe the 64 bit version of the class would be 4 more bytes in length since: The class must contain a char* in order to point ...

Using 32bit COM addin under MS Office 64 bit

Hi, I am struggling to apply an existing 32bit COM addin to 64bit Microsoft Word 2010. To make the addin visible to Word, I have used the dllsurrogate-method, as it described here. The problem is that now addin caused some strange exception when tries to add its toolbar and menu to office's. I cannot figure out, what it is, it seems, ...

html2image not working

Hi, This is displaying when I try to run html2image command for html to image conversion: "html2image: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory" ...

Assembly Segmented Model 32bit Memory Limit

If a 32bit Operating System operated with a segmented memory model would their still be a 4GB limit? I was reading the Intel Pentium Processor Family Developer's Manual and it states that with a Segmented memory model that it is possible map up to 64TB of memory. "In a segmented model of memory organization, the logical address ...