Link to home
Start Free TrialLog in
Avatar of carljokl
carljokl

asked on

Compiling to x64 with Visual Studio 2005

This is probably a very easy question for someone with a lot of Visual Studio experience. I have Visual Studio 2005 installed on Windows XP Pro x64. During the installation it detected it was running on a 64bit platform and installed extra 64 bit stuff. I am now using it for University for C++ programming to use OpenGL. I created a new C++ project and noted there are different options for types of projects. We used the Win32 application option. I did not notice a Win64 application option. As I am dealing with 3D graphics I would much rather compile the C++ programs to be native Win64 executables rather than have to run them on the WOW64 emulator. I am wondering if in spite of the project type being entitled Win32 application it is still possible to compile to native 64bit and if so how to go about it. If not, I would like to know which project type I need to use to compile to 64bit.
Avatar of jkr
jkr
Flag of Germany image

I'm not sure that compiling OpenGL apps natively for Win64 will get you any further, see http://support.microsoft.com/kb/896456 ("Overview of the compatibility considerations for 32-bit programs on 64-bit versions of Windows Server 2003 and Windows XP"):

"The x64-based versions of Windows Server 2003 and of Windows XP Professional x64 Edition do not include an OpenGL graphics driver. Contact the manufacturer of the device for a driver that is compatible with the x64-based versions of Windows Server 2003 and of Windows XP Professional x64 Edition."
ASKER CERTIFIED SOLUTION
Avatar of bijopuli
bijopuli
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of carljokl
carljokl

ASKER

I appreciate your concern about the issue of OpenGL support. This has been a problem with XP x64 when I was using microsofts own drivers but I am now using proper X64 ATI Catalist drivers and have full OpenGL support. I don't think this will be a problem for me. Before having these drivers I was not able to use OpenGL properly at all regardless of whether it was a 32bit or 64bit application.