SFML community forums
Bindings - other languages => DotNet => Topic started by: DaysShadow on May 30, 2011, 10:53:52 am
-
Hi,
i wanted to start using SFML with C# but even the examples don't work.
I put all the libs and the extlibs in the samples/bin folder but they crash with the popup "post-fx.exe doesn't work anymore", for example.
What could cause this?
I've installed Visual Studio Express 2010 on a Windows 7 x64 Professional.
Hardware is up to date, so there shouldn't be any incompatabilitys.
Recompiling the example doesn't change anything, unfortunately.
I hope someone can help me here :)
Greetings
-
Are you sure that you're not mixing 32 and 64 bits?
-
Ehm, 1.6 does not have 32 and 64 bit libs, there is only one bunch of libs in libs and extlibs.
If they are 32bit libs, shouldn't they work anyway on a 64 bit system?
64 bit libs on a 32 bit system don't work but the other way round it should work.
Thanks for your help.
-
Yes you're right, sorry (64 bits is supported in SFML 2 only).
Can you run a sample with the debugger, in order to know more about the error?
-
post-fx sample
Crashes at the RenderWindow creation:
RenderWindow App = new RenderWindow(new VideoMode(800, 600), "SFML.Net PostFX");
Error Message is:
BadImageFormatException was not handled
It was tried to load a file of a wrong format (Exception of HRESULT: 0x8007000B)
I hope the translation is right, i've got the visual studio in german here.
-
Have you tried to recompile SFML.Net?
-
Recompiled it but there is still the same error.