Click here to Skip to main content
15,880,405 members
Articles / Compiler
Tip/Trick

CPU Build: x86 and x64 / 32 bits and 64 bits

Rate me:
Please Sign up or sign in to vote.
4.91/5 (5 votes)
23 Feb 2011CPOL 15K   2  
Application running in 32 and 64 bits
If you use a Microsoft Access database, you should know that the provider works only in 32 bits. And there're lots of drivers that only work in 32 bits. So, how could you create an application for 64 bits using some provider or driver that only works in 32 bits?
There's a simple solution:

In Visual Studio --> Project properties --> Build tab --> Platform target --> Select x86

This will compile the source code in 32 bits and the application will run both in 32 and 64 bits environments in the same way. You are not going to enjoy 64 bits capabilities but the application will work as it does in a 32 bits environment.

I hope you enjoyed my first programming tip. I have a technical blog but it's in Spanish so I will start posting here in English.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer Berex Technology Solutions / Núcleo IT
Argentina Argentina
I'm a software engineer speciallized in .NET. I'm also professor at Universidad de Palermo University in Buenos Aires, Argentina.
I have a blog called IT Training (www.ittraining.com.ar) where I post my daily work.

Comments and Discussions

 
-- There are no messages in this forum --