65.9K
CodeProject is changing. Read more.
Home

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

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.91/5 (5 votes)

Feb 23, 2011

CPOL
viewsIcon

15171

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.