|
From: | Jon Kinsey |
Subject: | Re: [Bug-gnubg] Missing sound file hangs gnubg on Windows |
Date: | Fri, 16 Apr 2004 17:00:06 +0100 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
Petr Kadlec wrote:
While I tried it today, I have found an even bigger problem: When the computer does not have any audio capabilities, both W98 and W2k seem to return FALSE to PlaySound, but WITHOUT setting the last error to a nonzero value. So gnubg hangs and my patch does not solve that problem. As you probably have your computer equipped with a soundcard, you can test this by disabling the soundcard in the device manager.
I've added some simple code to check if a sound card isn't attached. Jon
[Prev in Thread] | Current Thread | [Next in Thread] |