Strange behavior

Hi… I doing some OpenGL tests and after some code on my C++ classes,

SDL started giving me some error. The strange thing is that I didn’t do no new

line of code that uses SDL after the last working build.

The test run buggy outside VC.NET but inside, I got these errors.=======================================================================

First-chance exception at 0x77f6256f in SDLOpenGL.exe: 0xC0000005: Access violation writing location 0x00000000.

First-chance exception at 0x77e73887 in SDLOpenGL.exe: Microsoft C++ exception: std::bad_alloc @ 0x0012f8cc.

Unhandled exception at 0x77e73887 in SDLOpenGL.exe: Microsoft C++ exception: std::bad_alloc @ 0x0012f8cc.

The thread ‘Win32 Thread’ (0x188) has exited with code 128 (0x80).

The program ‘[1504] SDLOpenGL.exe: Native’ has exited with code 128 (0x80).

===============================================================================================

Does anybody had some experience with that? Any idea?

Regards,

Herbert

Hi… I doing some OpenGL tests and after some code on my C++ classes,

SDL started giving me some error. The strange thing is that I didn’t
do no new

line of code that uses SDL after the last working build.

The test run buggy outside VC.NET but inside, I got these errors.

=======================================================================

First-chance exception at 0x77f6256f in SDLOpenGL.exe: 0xC0000005:
Access violation writing location 0x00000000.

First-chance exception at 0x77e73887 in SDLOpenGL.exe: Microsoft C++
exception: std::bad_alloc @ 0x0012f8cc.

Unhandled exception at 0x77e73887 in SDLOpenGL.exe: Microsoft C++
exception: std::bad_alloc @ 0x0012f8cc.

The thread ‘Win32 Thread’ (0x188) has exited with code 128 (0x80).

The program ‘[1504] SDLOpenGL.exe: Native’ has exited with code 128
(0x80).

===============================================================================================

Does anybody had some experience with that? Any idea?

The access violation feels like the screen didn’t initialize and then
something blits to it, it tries to write to NULL.

Are you checking the result of SDL_SetVideoMode, or are you just
assuming it works?On Fri, 2002-12-13 at 08:02, Herbert G. Fischer wrote:

Regards,

Herbert

Jimmy <@Jimmy>
Jimmy’s World.org
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20021213/ce9dbda1/attachment.pgp