To overcome this problem in Visual Studio 2010 click Build, then click Configuration Manager. Change the drop down list selection from x86 to AnyCPU. This is most commonly encountered doing a build for an app using SQLite on a 64-bit machine. There are similar challenges with Microsoft Access
For more complete information about compiler optimizations, see our Optimization Notice.