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

Author Topic: SFML audio crashing on Vista  (Read 3796 times)

0 Members and 1 Guest are viewing this topic.

drpitch

  • Newbie
  • *
  • Posts: 18
    • View Profile
SFML audio crashing on Vista
« on: June 03, 2009, 12:17:23 am »
Hi,

I'm developing a project using SFML on Windows Xp and it works great. But the same project on Vista has random crashes. I think that audio library has something to do with it, because the application only crashes when in the console ouput there is a "Failed to open the audio device" message.

The weird thing is that just after crashing I run the application again and the application doesn't crash (and it doesn't show the "Failed to open the audio device" message). So, how it's possible that sometimes the library can open the audio device and sometimes it can't?????

Thanks!

Edit: I've fixed the crash. I was mixing static and dynamic linking (I ignored some linking warnings) and that was making my app to crash :roll:

 

anything