I\'m assuming that my application is 32bit and that this is causing the error. In my solution\'s Configuration Manager the Active solution platform is set to x64. However my Pro