64bit

BadImageFormatException with .NET ILMerged DLL in Windows 7 64

I'm developing in Windows 7 64-bit with Visual Studio 2008. I have a collection of class libraries that I merge into a single DLL using ILMerge. When I try to use this merged DLL, however, I get [BadImageFormatException: Could not load file or assembly 'MyMergedDll' or one of its dependencies. An attempt was made to load a program ...

How to make perl script thinks that it's running on 64-bit machine?

How can I make a Perl script think that it is running on 64-bit machine? It needs to perform binary parsing of data that was written on a 64-bit machine, but it needs to be parsed on a 32-bit machine (via argument flag, for example). In my code I using pack/unpack with the formatting 'L!4'. ...

Web browser component (AxSHDocVw) forcing to run 32-bit IE version on 64-bit OS.

I plan on deploying a component that makes heavy use of the AxSHDocVw to automate IE on a server (making screen captures of various sites). The server in question is 64-bit win2k8 box. Because Adobe can't get their friggin act together and release a 64-bit flash player, I need the AxSHDocVw to run the 32-bit version of IE so that it rend...

Randomly crashing .net app in kernelbase.dll, running in 32 bit on Windows 7 64 bit

We have a customer running our 100% .NET product on a W7 64 bit machine. The app explicitely targets x86 so runs in 32 bit mode. On the customer's machine we get random crashes in kernelbase.dll. Sometimes it crashes even by just moving the mouse over the app. On other W7, 64 bit machines it runs ok. Any clues on how to approach this? M...

DLL Hell: SnacNp64.dll + gtkD

Apparently when I run some 32-bit apps I created using gtkD on Win64 systems with Symantec Endpoint Protection installed and network drives mapped, and try to bring up a file dialog, something in the runtime attempts to load SnacNp64.dll, a 64-bit DLL, into 32-bit address space. This DLL is a component of Symantec Endpoint Protection th...

Can a 32 bit User-mode driver run on top of a 64 bit OS?

Hello everyone, I have been checking out some info about 64-bit driver development; I found that drivers have to be re-written in order to be compatible with a 64 bit OS. However, I was wondering if this also holds true for User-mode drivers. The reason that I am asking this is because my understanding is that user mode drivers pass t...

TAPI: Is it a dead technology?

Is there such a thing as a TAPI implementation on 64-bit? Or am I stuck in the 32-bit land forever? Is there a viable replacement for TAPI out there? ...

Classic ASP with COM throwing "Data source name not found and no default driver specified" on Windows Server 2008 R2

We have a classic ASP application that connects to a COM component. The COM component reads a connection string from the registry and connects to a datasource. We exported the COM package out of a 2003 box and imported into a 2008 R2 box. We've reviewed every setting to ensure its correct. When we hit the classic ASP site, we get the fol...

Determining the CPU architecture of a static library (LIB) on Windows

I just built libpng on a 64-bit Windows machine using VS2008. It produces a libpng.lib file inside the \projects\visualc71\Win32_Lib_Release directory (Configuration used being "LIB Release"). I used dumpbin to inspect this LIB file: C:\Temp\libpng-1.4.3>dumpbin projects\visualc71\Win32_LIB_Release\libpng.lib Microsoft (R) COFF/PE Dum...

Is Python's ctypes.c_long 64 bit on 64 bit systems?

In C, long is 64 bit on a 64 bit system. Is this reflected in Python's ctypes module? ...

Does JavaFX work in 32-bit Windows? (or with a 32-bit JVM)?

Hello, Since JavaFX only works for 64-bit Linux and 64-bit OS X as far as I know (because the newer verison of Java hasn't been released in 32-bit), I'm curious if JavaFX is able to work on 32-bit Windows. Any thoughts? Thanks! ...

Detecting Virtualization

I have an inline assembler function detects program runs on Virtual Machine or not. But in 64bit inline assembly is not available anymore, here x64 intrinsics now. Is there another way for detecting it? Here is the code works for 32bit VMWare bool IsInsideVMWare(void) { bool rc = true; __try { __asm { push edx push ecx p...

64-bit Performance Advantages

What is the source of the performance advantage 64-bit applications have over 32-bit applications? I'm assuming there is a performance advantage because programs like WinRAR advertise it. Also, can we get these performance advantages simply by switching to a 64-bit compiler, or are there any changes in code that need to be made? Answer...

AppCmd: Framework vs Framework64

I have a batch of new server getting installed and I'm finally trying to automate as much of at process as possible. Part of that includes making some changes to machine.config, like setting configSource on connectionStrings and setting the machine keys across a lb pool. It appears that on a 64bit os, appcmd only effects the config in t...

File Access takes me to command prompt rather than Explorer

Hi All, Whenever I go to my command prompt and type a "c:\temp" or any other file/directory, it takes me to the command prompt rather than the file explorer. Can somebody please tell me how I can fix this so that all file/directory access from cmd takes me to the file explorer. I have a Win2k3 64bit machine. Has this got a...

How to convert inline assembler to .asm file

Hi all, I'm having a problem converting an inline assembler function to .asm file. I need seperate inline assembler code because in x64 architecture doesn't have support for inline assembly. Here is the code, #include <windows.h> #include <string> #include <iostream> #include <tlhelp32.h> using namespace std; int filter(int code...

64 & 32 bit system directory windows

Hello, trying to find thid issue in the database with no luck. So, I'm developing on a 64bit system (windows seven). I'm making a simple console programme that check if a dll is present on the windows system. in that case i check in the system32 folder and then, in the sysWOW64 folder. The pro gramme is 32bit application. On a 32bit ta...

64 bit integer math and bitwise operation benchmarks

I'm trying to get a feel for the difference in performance between integer multiplication compared to bitwise operations... I have two potential hashing algorithms acting on 64 bit keys, one which uses a single multiply, single right shift, and single mask, the other which involves several shift and mask operations... but I want to try ...

Converting 32-bit AIX 5.3 C Applications into 64-bit AIX 6.1 C Applications

We have entire application source code in C written on AIX 5.3 with Oracle 10g. We wish to upgrade to new AIX servers using 6.1 and Oracle 11gR2. We think we should upgrade to 64-bit mode since Oracle is unikely to support 32-bit much longer. What we want to do initially is to estimate the time and effort to convert; hence we would ap...

Why does the Python 2.7 AMD 64 installer seem to run Python in 32 bit mode?

I've installed Python 2.7 from the python-2.7.amd64.msi package from python.org. It installs and runs correctly, but seems to be in 32-bit mode, despite the fact that the installer was a 64 bit installer. Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" ...