SFML community forums
Bindings - other languages => DotNet => Topic started by: Khepri on March 21, 2015, 06:57:35 am
-
Hi,
I've created a C# project with Windows Forms and when I'm loading a SoundBuffer with its constructor, the program returns a BadImageException. I've tried changing the build mode to x86 and make sure I had the 32bit DLLs, but it fails anyway. Although, it works with x64, but I want my program to work on 32bit systems as well.
Is this a problem in SFML.Net bindings or in my project?
Thanks for your help.
Khepri
-
First of all, re-download the bindings from the site. You might have gotten a package which had included csfml-audio 64bit build by mistake. Also make sure that the platform target for you exe is x86 (in Visual Sudio - Project Properties -> Build -> Platform target = x86).