I have written a tool that references Microsoft.TeamFoundation.VersionControl.Client.dll, which is a 32-bit DLL.
When I build my tool on 64-bit Windows, I set Visual Studio to specifically target X86 in order to force it to a 32-bit build.
Targetting X86 instead of All-CPU's prevents me from getting a BadImageFormatException, as long a...
I have a Shell Namespace Extension C++ COM DLL that must have both a 32 bit and 64 bit version installed on a 64 bit machine, because when 32 bit applications perform a file-> open the dialog that is presented is a 32 bit shell. The problem is that both my 32 bit and 64 bit COM objects have the same progid and the VS setup project will t...
I heard that using shorts on 32bit system is just more inefficient than using ints. Is this the same for ints on a 64bit system?
Python recently(?) basically merged ints with long and has basically a single datatype long, right? If you are sure that your app. will only run on 64bit then, is it even conceivable (potentially a good idea...
I think this question was already asked, but I couldn't find a solution which works for me. I use Delphi 7 under Windows 7 Ultimate, 64 bit. Actually I started writing application under 32 bit OS, but then changes PC, so now its 64. In my program I use registration process with Licence ID generated from PROGID value of Windows. Unfortun...
Here's my question. What is the best way to determine what bit architecture your app is running on?
What I am looking to do: On a 64 bit server I want my app to read 64 bit datasources (stored in reg key Software\Wow6432Node\ODBC\ODBC.INI\ODBC Data Sources) and if its 32 bit I want to read 32 bit datasources, (i.e. Read from Software\OD...
Hi All I am facing one problem that my 32 bit ocx doesnt get register on Windows Server 2008R2.
After using the dependency walker I came to knew that 32 bit version of GPSVC.dll and IESHIMS.dll are missing on R2 OS. So I tried to serach the 32 bit versions of these dll for R2 on net but did not find these dlls. So can any body tell me w...
Hello,
I’m trying to install a 32-bit ASP.NET application onto a 64-bit IIS server running on Windows Server 2008. This is a clean installation of the operating system with no other applications installed.
As a prerequisite for our installation, we run the 32-bit version of aspnet_regiis –i
It fails with the following message: The e...
I have a service which needs to be deployed on a clients machine.
The destination machine is 64bit. My dev machine is also 64 bit.
The app is really simple, listens on a port and does some db things. It targets .net 3.5
When I deploy the Anycpu, the X64 or the X86 version, the thing won't install on the clients machine.
I checked depe...
When I pass compiler flag "-mmacosx-version-min=10.5", what does it mean? I think it implies the result binary is x86, not ppc, but is it 32 bits or 64 bits? I'm compiling on snow leopard, so default output binary is 64 bits. I'm not passing -universal, it's not 32bit-64bit universal binary, I think.
...
So, I've been using JPIB to communicate with GPIB devices in my java program. However, I have run into a snag. Newer systems are built on 64 bit OS's. However, the jpib.dll file is written in 32-bit. I can't think of any kind of calls that it would need to make that are truly 64-bit dependent.
The real trouble here is that the JPIB ...
We have an 32 bit application consisting of some processes. They communicate with shared memory of a DLL used by every process. Shared memory is build with global variables in C++ by "#pragma data_seg ("Shared")".
When running this application sometime during starting a new process in addition to an existing (first) process we observe t...
I have an app that works fine on 32-bit systems, but fails on XP 64 bit systems. I've tracked it down to the connection string defined in my app.config thus:
<connectionStrings>
<clear/>
<add name="IFDSConnectionString"
connectionString="Data Source=fdsdata;Initial Catalog=IFDS;
Trusted_Connection=true;Connec...
I'm confused. It's a regular state of affairs for me but specifically in this case I felt I could reach out to fellow stackoverflowers (that is, stackoverflow-ers, not stackover-flowers).
uname -a
Darwin macbookpro 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386
set
bash-3.2$ s...
I have an existing C codebase that works on x86.
I'm now compiling it for x64.
What I'd like to do is cast a size_t to a DWORD, and throw an exception if there's a loss of data.
Q: Is there an idiom for this?
Here's why I'm doing this:
A bunch of Windows APIs accept DWORDs as arguments, and the code currently assumes sizeof(...
I'm trying to compile PCRE (v8.02) for Windows x64, using Vs2008.
The "NON-UNIX-USE" file tells me to use cmake to generate a .sln fle.
That works.
When I run the build it succeeds, with 91 warnings.
All appear to be size conversion warnings.
Am I doing something wrong?
Should I expect all these warnings?
Has anyone else built PCR...
So I am trying to port 32 bit to 64 bit.
I have turned on the VS2008 flag for detecting problems with 64 bit.
I am trying following:
char * pList = (char *)uiTmp);
warning C4312: 'type cast' : conversion from 'unsigned int' to 'char *' of greater size
Disregard the code itself. This is also true for any pointer, because 64 bit poin...
I am trying to compile an 32 bit application. I am aware of problems with it but that is why its being compiled on 64 bit version.
I am hanging at this problem.
Application uses lots of sql stuff.
In sqltypes.h file: (provided by MDAC)
#ifdef _WIN64
typedef INT64 SQLLEN;
typedef UINT64 SQLULEN;
typedef UINT64 SQLSETP...
SSIS (SQL 2005) packages that have a script task that invoke custom .NET dlls throw the following error when run in a 64 bit environment
The task cannot execute in 64-bit environment because the script is not pre-compiled. Please turn on the option to pre-compile the script in the task editor.
The script tasks are set to PreCompile=fa...
What is the "correct" way for a 32-bit application to find the "Program Files" folder on 64-bit Windows? For example, I am running a 32-bit application with a VBScript engine, and want to launch 64-bit Excel (using ShellExec, or similar). In the 32-bit world, I would check the environment variable "ProgramFiles" to get the base folder....
Hello,
I am developing an application that processes images captured in real time by a Point Grey camera (http://www.ptgrey.com/).
The Point Grey SDK is a .net wrapper and can be either 32bit or 64bit.
Then to process the captured images, I'm using a wrapper for openCV called Emgu CV (http://www.emgu.com/) that comes in both 32bit or ...