PDA

Click to See Complete Forum and Search --> : 64-bit code


Tom Sawyer
May 17th, 2007, 01:56 PM
I'm programming in Visual Studio 2005 and I've come across an error (details don't matter here). Searching around, I found something that said that what I want to do won't work with dlls that are compiled with 64-bit code until the next release of the product.

I know that there is a version of Visual Studio 2005 that compiles things in 64-bit code, but do all versions of 2005 do that? If not, how can I find out if my code is being compiled into 32 or 64 bit code?

jmcilhinney
May 17th, 2007, 06:19 PM
I'm not sure but I don't think the Express editions support 64-bit. I would guess that Standard does but I don't know. Professional and above definitely do. If you really want to know then MSDN would be able to tell you.

If you wanted to compile for a 64-bit platform you'd have to go to the Compile tab of the project properties, press the Advanced Compile Options button and select the Target CPU as x64.

Slaine
May 18th, 2007, 07:44 AM
Looking here:

http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx

It would appear that the only versions that don't support compilation to x64 are the "Express" and "Tools for Office" editions.