Flash is not 64-bit on Windows, and you cannot load 32-bit flash into a 64-bit process. You need to compile your project architecture to always run 32-bit.
In your Project's properties, go to the "Build" tab and change "Platform Target" to "x86". You'll have to do this for all configurations, such as Debug and Release.