Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Vista incompatibility issues  (Read 4990 times)

0 Members and 2 Guests are viewing this topic.

scorch

  • Newbie
  • *
  • Posts: 17
    • View Profile
Vista incompatibility issues
« 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 :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vista incompatibility issues
« Reply #1 on: August 06, 2011, 02:26:05 pm »
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?
Laurent Gomila - SFML developer

scorch

  • Newbie
  • *
  • Posts: 17
    • View Profile
Vista incompatibility issues
« Reply #2 on: August 06, 2011, 02:44:27 pm »
When I launch the demos none of them start. If I run the sound demos from the console, it outputs the following error:
Quote

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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vista incompatibility issues
« Reply #3 on: August 06, 2011, 02:51:02 pm »
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.
Laurent Gomila - SFML developer

scorch

  • Newbie
  • *
  • Posts: 17
    • View Profile
Vista incompatibility issues
« Reply #4 on: August 06, 2011, 03:46:23 pm »
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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vista incompatibility issues
« Reply #5 on: August 06, 2011, 07:13:19 pm »
Quote
the OpenGL and the Window demo still don't work

What happens?
Laurent Gomila - SFML developer

scorch

  • Newbie
  • *
  • Posts: 17
    • View Profile
Vista incompatibility issues
« Reply #6 on: August 06, 2011, 08:04:34 pm »
They don't even open.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vista incompatibility issues
« Reply #7 on: August 06, 2011, 08:33:13 pm »
No error? Do they open first before closing immediately? Do they appear in the process manager?
Laurent Gomila - SFML developer

scorch

  • Newbie
  • *
  • Posts: 17
    • View Profile
Vista incompatibility issues
« Reply #8 on: August 06, 2011, 08:40:34 pm »
They don't even open. They appear in the proccess list, just a small moment, but they don't appear under the applications list.

scorch

  • Newbie
  • *
  • Posts: 17
    • View Profile
Vista incompatibility issues
« Reply #9 on: August 08, 2011, 02:46:51 pm »
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:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vista incompatibility issues
« Reply #10 on: August 08, 2011, 03:03:49 pm »
Indeed, it's not in the SDK, you must have it installed.
Laurent Gomila - SFML developer