SFML community forums
Bindings - other languages => DotNet => Topic started by: scorch on August 06, 2011, 11:30:39 am
-
Hi. I'm a .NET programmer and I am using SDL in my project. But then I saw you library, which has many features SDL lacks, and has also an official binding for .NET technologies. So I've downloaded the .NET SDK and tried the demos. Big problem: none of them work.
Then I read here in the forum a post where a user reported a compatibility issue with Windows Vista. It was something related to the rendering of the window. I would like to know if that is true, if there still is that bug, and if there are any ways to get around it.
Thanks,
Scorch :)
-
I don't remember such a problem with Vista. Can you please tell me exactly what happens when you run the examples? Have you tried to run them from Visual Studio with the debugger?
-
When I launch the demos none of them start. If I run the sound demos from the console, it outputs the following error:
Excepção não processada: System.DllNotFoundException: Não é possível carregar DLL 'csfml-audio': Impossível localizar o módulo especificado. (Excepção de HRESULT: 0x8007007E)
em SFML.Audio.SoundBuffer.sfSoundBuffer_CreateFromFile(String Filename)
em SFML.Audio.SoundBuffer..ctor(String filename)
em sample_sound.Program.PlaySound()
em sample_sound.Program.Main(String[] args)
This seems like it dowsn't finds the DLL's. I've even copied them into bin folder, but they still don't work. And I can't run the projects in my VS2010, because the projects are from an older version and the conversion always makes an error.
-
You must copy the CSFML DLLs (from the extlibs directory), in addition to the SFML.Net ones. They must be in the same directory as the executable, or in a directory which is in the PATH environment variable.
-
Ops. Didn't knew that. Now most of the demos work, but the OpenGL and the Window demo still don't work. However Post-FX demo works.
-
the OpenGL and the Window demo still don't work
What happens?
-
They don't even open.
-
No error? Do they open first before closing immediately? Do they appear in the process manager?
-
They don't even open. They appear in the proccess list, just a small moment, but they don't appear under the applications list.
-
Is it related to the Tao DLL? I've been loking around and in the samples there is a reference for the Tao.FreeGlut (I think), but I haven't seen any of this DLL's in the SDK.
PS: Sorry fo the double-post. :oops:
-
Indeed, it's not in the SDK, you must have it installed.