I have BlamLib setup to run under x86 or x64, however, you need to make sure you select those configurations expliciltly under the build configuration in VS.
You see the dropdown box at the top of VS which says "Debug" or "Release"? Next to it, it probably has "Any CPU" or "Mixed Platform". That's bad. Select "x86" (if you're wanting to run and debug the projects with VS at least).
When compiling for x64, LowLevel builds with x64 versions of DX and BlamLib (the actual library) uses 64-bit versions of API calls in Util.Windows.cs (if there is no 64-bit version then the function is undefined)
The reason why it's crashing is because that function is in BlamLib.Forms. If you're on Win64 then when it tries to load a 32-bit assembly from a 64-bit .NET assembly, then you'll get a BIF Exception. Hence why it's always crashing in that function.
Bookmarks