64bit

Can Netbeans handle both 32-bit and 64-bit version of Java ?

I'm running 64-bit version of Vista on my notebook with 4G of RAM, the Ram is maxed out at 1.5G on the 32-bit version of Java. But if I move completely to 64-bit version of Java, the JDIC part won't work, so my question is : if I install both 32 and 64 bit versions of Java, can Netbeans easily switch between the two ? So if I run out of ...

Win32 API to tell whether a given binary (EXE or DLL) is x86, x64, or ia64

Hello, I am trying to find a programmatic way to tell if a binary is x86, x64, or ia64. Platform: Windows. Language: c/c++. Background: Before trying to load a third-party dll, I need to find out its bitness. Appreciate any pointers. ...

Running 32 bit app using 32 bit com on a 64 bit Windows machine

Hi, I have a C# application using C++ COM object both build on a 32 bit machine. Now I have to run them on a 64 bit machine. I registered the COM object. A corresponding entry was created in the register under computer\hkey_classes_root\wow6432node\clsid{xxx}. However, when I try to run the application it says that |"Retrieving the COM ...

32 bit app can't find mshtml assembly while running on 64 bit machine

Hi, I'm trying to run a 32 bit application (built as x86) on a 64 bit machine. I built it as x86 because it uses a 32 bit com object. Until I did this, the app couldn't load the com. Now it loads the com, but complains that it can't find microsoft.mshtml assembly. THis assembly is used by one of the (.net) dependencies. The error mess...

Reading 64bit Registry from a 32bit application

I have a c# unit test project that is compiled for AnyCPU. Our build server is a 64bit machine, and has a 64bit SQL Express instance installed. The test project uses code similar to the following to identify the path to the .MDF files: private string GetExpressPath() { RegistryKey sqlServerKey = Registry.LocalMachine.Op...

Reflect over a x86 assembly from a "Any CPU" built application on x64 bit OS

Hey everyone, I have a .Net app that's compiled as "Any CPU". I am running it on a x64 OS so it's running as 64bit. The application loads other assemblies that the user provides. It uses reflection of course to read types from the user provided assembly. Everything works fine if the user assembly is compiled as "Any CPU". But if the ass...

Is there a way to force an "Any CPU" compiled app to run in 32bit mode on 64bit OS?

If I have a "Any CPU" compiled .NET app, it will run in 64bit mode on a 64bit OS. But if I, for whatever reason, wants to force this app to run in 32bit mode. (As if it were compiled using "x86"). Recompiling is not an option, so is this possible to config at run time ? With the .manifest file perhaps? ...

64 bit compilation in visual studio

I am compiling a DLL that uses ATL to house a com object and targeting X64. Everything seems to be fine but the DLL wont run on the 64 bit machine. I ran depends on it on the target machine and it seems to be dependant on the x86 versions of countless system libraries (kernel32 etc.). Anyone know what i am missing? ...

Should I initialize my AUTO_INCREMENT id column to 2^32+1 instead of 0?

I'm designing a new system to store short text messages [sic]. I'm going to identify each message by a unique identifier in the database, and use an AUTO_INCREMENT column to generate these identifiers. Conventional wisdom says that it's okay to start with 0 and number my messages from there, but I'm concerned about the longevity of m...

Command line subversion client for Windows Vista 64bits

Does anyone recommend any particular command line SVN client for Windows. Being 64 bits would be a bonus. I do have TortoiseSVN, but it doesn't come with command line, which is required for my build scripts. I searched the subversion site and found not one, but four different options. Therefore, my question. ...

When to support Windows 64?

I'm currently providing 32 bit Windows music software. Some of my users are asking for 64-bit support. I plan to eventually, but porting is a big job, and I have plenty of other important feature requests too. I need to allocate my limited time wisely. How much market share do 64-bit operating systems hold?, and what's the trend. ...

compling assemblies on a 64bit plaform for a 32bit

What option should I select for compliing assemblies on a 64bit plaform for a 32bit platform server. As currently I am trying to publish to a 32bit server. I am using VS2005 on a windows Vista machine to build my project and then publish on server but I am getting errors. Any idea how can I solve this problem. Should I use AnyCPU option...

check if unmanaged dll is 32-bit or 64-bit?

How can I programmatically tell in C# if an unmanaged dll is x86 or x64? ...

How can I force the 32-bit version of the remote desktop client to run on 64 bit Vista?

We need to run the 32-bit version of the remote desktop client on 64 bit Vista, because part of our product integrates with it, and communicates with the terminal server side app via the virtual channel. The integration loads some third party 32-bit drivers, and it is not possible to load a 32-bit dll in a 64-bit process. Normally it i...

XXX.exe is not a valid Win32 application

Configuration: Windows server 2008 x64. Software is cross platform c++ 64bit. The previous installer defaulted to asking the user to install to c:\Program Files (x86)\company\version For the last release I changed the installer using a path override to install to c:\Program Files\company\version The guys who does testing for us sa...

General pitfalls when moving to 64-bits Vista?

Well, to begin with, I'm using Visual Studio 2008 on a 32-bits Windows XP system. I have a second 32-bits Vista system but that's not used for development. I just ordered a new development computer which will use 64-bits Vista. (Don't want Windows 7 just yet, but will probably upgrade to Windows 7 in two years from now if it has a good m...

64bit shift problem.

Why this code does not write 0 as a last element but 18446744073709551615? (compiled with g++) #include <iostream> using namespace std; int main(){ unsigned long long x = (unsigned long long) (-1); for(int i=0; i <= 64; i++) cout << i << " " << (x >> i) << endl; cout << (x >> 64) << endl; return 0; } ...

Office Interop with 64bit Windows in ASP.NET

I'm trying to do office 2003 interop using C# ASP.NET on a server running Windows 2003 64 bit (I'm running IIS in 32bit mode though) and getting error messages like: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {00024500-0000-0000-C000-000000000046} to the us...

Can I still develop 32-bit applications using a 64-bit machine?

Hi, I'm wondering if I can still develop 32-bit apps using a 64-bit machine (64-bit Windows Vista with Visual Studio 2008 SP1)? Because I am planning to buy a laptop with 64-bit Vista. Im asking just to make sure. Thanks! ...

Can't display PDF from HTTPS in IE 8 (on 64-bit Vista)

I have a home-grown HTTPS server that serves up simple files (it's embedded within my app). It works great -- been using it forever. Recently added SSL support -- Chrome, FireFox and IE all like it and load pages just fine. The problem I find is when I try to load a PDF file over the HTTPS connection. For some reason, the PDF never d...