W32 windowed mode error

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

I know that I cannot expect from people that they will help me, though I had
at least hoped that someone had some advice. I gather from the lack of
responses that windowed mode is not supported under windows?

/Gorm> ----- Original Message -----

From: gorm@lai.as (Gorm Lai)
To:
Sent: Saturday, August 18, 2001 3:05 PM
Subject: [SDL] W32 windowed mode error

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


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

i don’t have my SDL configuraion here …
anyway there to few information here.
for me any SDL demo work perfectly fine either fullscreen-windowed
mode (BTW i use mingw-gcc)

I don’t have an answer for your problem, but SDL does work just fine for me
on Win32 in Windowed mode with Resizable windows under Windows 2000 with
DirectX 8.

–Manny

At 05:37 PM 8/22/2001 +0200, you wrote:>I know that I cannot expect from people that they will help me, though I had

at least hoped that someone had some advice. I gather from the lack of
responses that windowed mode is not supported under windows?

/Gorm

Hi,

I know that I cannot expect from people that they will help me, though I had
at least hoped that someone had some advice. I gather from the lack of
responses that windowed mode is not supported under windows?

At least it is working fine on my win2K width the directX shipped on it. Perhaps
you should try
to go back to the “old” DirectX version ?

renaud

Well thanks everyone for letting me know that it works on your end.
Now I even tried the test example on
http://sdldoc.csn.ul.ie/guidevideo.php#GUIDEVIDEOINTRO
of course replacing the color depth, with my own desktops. Still the same
error.
I have the feeling that only a clean Win2K install will help me, though I’m
not going
to do that.
/Gorm> ----- Original Message -----

From: renaud@envivio.com (Renaud Cazoulat)
To:
Sent: Wednesday, August 22, 2001 7:40 PM
Subject: Re: [SDL] W32 windowed mode error

Hi,

I know that I cannot expect from people that they will help me, though I
had

at least hoped that someone had some advice. I gather from the lack of
responses that windowed mode is not supported under windows?

At least it is working fine on my win2K width the directX shipped on it.
Perhaps
you should try
to go back to the “old” DirectX version ?

renaud


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl