32bit-64bit

32bit ODBC and 64bit SQL Server

I have a 64bit server running Windows Server 2008 and MSSQL 2008, both in 64bit. I also have an application which queries a second system but can only work in windows server 2003 32bit. I want to connect both systems via a service that would run on the 32bit system and connecting to MSSQL via ODBC. What are the pitfalls? Has anyone trie...

Benefits of a 64 bit Machine for Hosting your Web Application

Hello all, I am about to buy a server, before I do so, I just wanted to ask the SO community on its thoughts of a 32 bit server or a 64 bit server and its advatnages on a LAMP stack. 1) Is it difficult to install Apache, MySQL and PHP on a 64 bit machine or is it the same as a 32 bit machine? 2) Are there any performance gains of havi...

cannot assign a value to 64-bit integer on 32-bit platform

After switching from 64-bit to 32-bit platform (both of them are CentOS) I get integer constant is too large for ‘long’ type error for the following line of code uint64_t Key = 0x100000000; Casting the value does not help. What am I doing wrong? Thanks ...

Why is the 64-bit MSBuild loading 32-bit extensions?

I'm attempting to build a project using MSBuild (v4.0) on a 64-bit machine. For some reason, MSBuild is attempting to load a 32-bit extension, and I cannot figure out why. I've reduced the problem to the smallest set in order to demonstrate the issue. Using the following MSBuild project file: <Project xmlns="http://schemas.microsoft.co...

test app on 64bit windows

I don't have 64bit windows, and i have to develop app for 64bit windows. I have downloaded and installed virtual pc i develop on windows xp 32bit, vista 32bit and win7 32bit How to i develop a 32bit compatable application? [EDIT] Am developing using visual studio 6 & 2005, Borland c++ 7. And i havent seen 64bit versions of this softw...

Can we create a VC++ executable which will work natively on both 32 bit and 64 bit Windows?

Is there any way to build a VC++ project so that the dll/exe created by it will work as a 32 bit application on a 32 bit Windows OS and as a 64 bit application on a 64 bit Windows OS (not in WOW64). I know that is possible for C# applications using the /ANYCPU option. ...

Netbeans 64bit Edition

Does Netbeans have 64bit edition for Windows 64bit or Netbeans only published in 32bit edition? Regards ...

How to get default volume on Mac OS X 64-bit?

Hi everyone, What's the way to get default volume on Mac 64-bit? I have a code like that: GetVolParmsInfoBuffer buf_64 = { 0 }; status = FSGetVolumeParms(vol_ref, // use default volume The problem is that I can't pass 0 in vol_ref. On Mac 32-bit I could write: GetVolParmsInfoBuffer buf_...

Is there any way for an MSBuild project to determine whether the 32-bit or 64-bit version of MSBuild is running?

After having found the answer to my question about the 64-bit version of MSBuild attempting to load 32-bit extensions, it has now become necessary for me to determine whether the 64-bit or 32-bit version of MSBuild is running so I can load the correct version of the DLL. I can check the $(MSBuildBinPath) variable against a list of known...

Inverse Mappings

Saying right now: Yes, this is homework. I'm not asking for an answer, but I would love any help into a general direction to look at this problem at. I've been working on it now for hours and have not made any real progress. Can a function, with a well defined inverse, be implemented to map 32 bit integers to 64 bit integers. Do all ...

Why is it so hard to make 64-bit versions of software?

What are all the aspects must be taken into account when designing your software into 64-bit environment, and why wouldn't the same code work as 32-bit and 64-bit (when talking about applications)? Drivers obviously are a different beast, missing 64-bit drivers are infamous problem for almost all hardware. What's so different in that do...

Ho to use the correct unmanaged dll according CPU architecure? (32 / 64bits)

I have to use a c++ dll from an asp .net site. The site will be hosted on both 32 and 64bits environments. I have a 32 and 64 bits version of the unmanaged dll. How do I import the methods from the correct one according the current server architecture? EDIT Like some one posted, this could be handled as a deployment problem. My concern...

How can I fix the cause of this compiler warning?

The following code is producing a warning when I compile it on 32-bit systems: 1087: warning: integer constant is too large for "long" type; how can I fix this so I don't get that warning and it works correctly on 32-bit? A valid input for this is: unsigned char str[] = "\x00\x17\x7c\x3a\x67\x4e\xcb\x01"; and the mypow function retur...

Compile 32 bit from Win7 64 bit

Hi guys, I would know if is possible compile a java desktop application in 32bit application from Windows 7 64bit using Netbeans. Thx you for HELP. ...

MongoDB assumes 64 bit system - does it mean the hardware or the OS kernel or both?

This post says that you need a 64 bit system for MongoDB if your data is bigger than 2GB. In my local machine, a 64 bit Intel C2D running 32 bit Mac OS X Leopard, the MongoDB 64 bit version runs without any error. On the server, a 64 bit machine running 32 bit CentOS 5.0, the 64 bit MongoDB won't run. 32 bit runs OK. My question is, d...

x86 setup for a x64 windows service

I'm trying to get a setup package to run. If my application and it's setupproject is targeting x32 everything installs fine. But the application fails to load some COM+ components since they are 64bit. If I manually replace the application (after the setup have finished) with a 64bit version everything runs fine. When I change my app a...

Multiple 32bit processes on 64bit IIS - memory limit?

I've got a legacy ASP web application that uses a VB6 DLL. The app is quite memory hungry. I need to run multiple instances of the app on one machine. Now since VB6 DLLs are 32bit only, running in a 64bit process is out - but what if I ran multiple 32bit IIS app pools? Would the memory limit of 1.2 GB per kick in per app pool, or would t...

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

CPU Architecture (32/64 bit) using Javascript

Possible Duplicate: Detect 64-bit or 32-bit Windows from User Agent or Javascript? Is it possible to find the client architecture (32 bit or 64 bit) using JavaScript? ...

How do I use a C++ class in a C# application without regard to platform?

I have a native/unmanaged C++ library with a number of classes that I would like to use from C#. Most of the solutions I've read (like this one and this one) suggest that I should create a C++/CLI wrapper, and use the wrapper in my C# project. Most of these suggestions, however, ignore platform. As far as I am aware, if the unmanaged DLL...