[SDL] SDL_net WIN32 FIONBIO issue

Jonathan Atkins jcatki at home.com
Fri Aug 31 20:28:00 PDT 2001


This call
theSurface = SDL_SetVideoMode(640,480,32,SDL_RESIZABLE);

causes for some reason the following s..tload of errors in the debug window
under msvc:

First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.
First-chance exception in DeathFromAbove.exe (KERNEL32.DLL): 0xC0000005:
Access Violation.

A small window does pop up. But not of the requested size. In fullscreen
mode everything works fine.

Also I have checked that SDL_Init(SDL_INIT_VIDEO) returns 0.

I run Windows 2000, and have installed directx8.

Can anyone help, as I really hate running my programs in fullscreen mode?

/Gorm








More information about the SDL mailing list