SDL and Vista, computer freezes after input |
SDL and Vista, computer freezes after input |
Sam Lantinga
Guest
|
Try this: http://www.libsdl.org/tmp/SDL-1.2.12-win32.zip I've had no trouble with this under Windows Vista. -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment |
|||||||||||||
|
SDL and Vista, computer freezes after input |
jake
Guest
|
Sam Lantinga <slouken <at> devolution.com> writes:
I've compiled my program using SDL 1.2.11, and tried swapping in the 1.2.12 dll that Sam suggested, but I'm still getting the freeze issue on keypress. I'll try compiling my program with the SDL source so that I can debug it and find out where it's getting hung up. I'll post the results here shortly. Thanks, Jake |
|||||||||||||||||||||||||||
|
SDL and Vista, computer freezes after input |
jake
Guest
|
jake <jakob.parks <at> gmail.com> writes:
After some analysis, here's what I've found. 1) The program freezing only effects windowed programs, not fullscreen. 2) Setting a breakpoint at the message pump (DIB_PumpEvents()) or message handler (WinMessage()) does not catch the key message before it freezes. 3) If you breakpoint the SDL in the WinMessage() function when Windows receives the WM_ACTIVATE message, and then press F5 to run the rest of the program, SDL will catch the release of the F5 key and the program will work as normal (no input freezes, hooray!). If however, you reactivate the program by using the mouse (clicking on Debug->Continue in Visual Studio), the program will never receive an input message and still freezes on first keypress. Sounds like if the program receives keyboard input before some crucial process happens, everything runs fine. This is my first time looking at SDL, so I'm still learning the interactions of the modules. But, I have to say: Kudos to the authors. Damn this thing is well-written. Any ideas? Jake |
|||||||||||
|
SDL and Vista, computer freezes after input |
Paul Duffy
Guest
|
On Wed, 2007-07-18 at 21:38 +0000, jake wrote:
Assuming you're using SDL 1.2.11, this is a known and high priority bug. I believe the very-soon-to-be-released 1.2.12 will fix this. ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html |
|||||||||||||
|