SDL1.1.4 probs under Windows!

Hi guys !

Well as usual i’ve tried new version of SDL under Linux and Windows. Under
Linux it works great but under Windows I get a Kernel32.DLL error ! :wink:
I just try to compile under VC++5.0 a simple program (initialisation of SDL
!), it is compiling fine but when i run the exe i get that stupid and
misunderstanding error !

So is anyone get the same probs ?

I should say that 1.1.3 works really fine !

Bye all
Lawouach

Hi guys !

Well as usual i’ve tried new version of SDL under Linux and Windows. Under
Linux it works great but under Windows I get a Kernel32.DLL error ! :wink:
I just try to compile under VC++5.0 a simple program (initialisation of SDL
!), it is compiling fine but when i run the exe i get that stupid and
misunderstanding error !

So is anyone get the same probs ?

Can you send me a very simple example that shows the problem?
@slouken

Thanks!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Hi guys !

Well as usual i’ve tried new version of SDL under Linux and Windows. Under
Linux it works great but under Windows I get a Kernel32.DLL error ! :wink:
I just try to compile under VC++5.0 a simple program (initialisation of SDL
!), it is compiling fine but when i run the exe i get that stupid and
misunderstanding error !

So is anyone get the same probs ?

I should say that 1.1.3 works really fine !

Also try the unsupported DLL at:
http://www.libsdl.org/cvs/SDL.dll

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

No probs but i mean the very simple example is really simple !!!

Here it is : (under VC++ 5.0 with Settings well defined)
I’ve tried several video modes ! all crash
If you want i could send you the VC++ project but i think it won’t help you
!

#include <stdlib.h>
#include <stdio.h>
#include <SDL/SDL.h>

int main(int argc, char *argv[]){

SDL_Surface *screen;

if(SDL_Init(SDL_INIT_VIDEO) <0){
fprintf(stderr,“Erreur d’initialisation vid?o de SDL
%s\n”,SDL_GetError());
exit(1);
}

atexit(SDL_Quit);

if((screen = SDL_SetVideoMode(320,200,8,SDL_SWSURFACE)) == NULL){
fprintf(stderr,“Impossible d’allouer une surface SDL %s\n”,
SDL_GetError());
exit(1);
}
return 0;
}

Bye

“Sam Lantinga” a ?crit dans le message news:
E13NG6k-0001w1-00 at roboto.devolution.com

Hi guys !

Well as usual i’ve tried new version of SDL under Linux and Windows.
Under

Linux it works great but under Windows I get a Kernel32.DLL error ! :wink:
I just try to compile under VC++5.0 a simple program (initialisation of
SDL> > !), it is compiling fine but when i run the exe i get that stupid and

misunderstanding error !

So is anyone get the same probs ?

I should say that 1.1.3 works really fine !

Also try the unsupported DLL at:
http://www.libsdl.org/cvs/SDL.dll

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sorry but i still get this error !
I will try on an another computer !
later

“Sam Lantinga” a ?crit dans le message news:
E13NG6k-0001w1-00 at roboto.devolution.com

Hi guys !

Well as usual i’ve tried new version of SDL under Linux and Windows.
Under

Linux it works great but under Windows I get a Kernel32.DLL error ! :wink:
I just try to compile under VC++5.0 a simple program (initialisation of
SDL> > !), it is compiling fine but when i run the exe i get that stupid and

misunderstanding error !

So is anyone get the same probs ?

I should say that 1.1.3 works really fine !

Also try the unsupported DLL at:
http://www.libsdl.org/cvs/SDL.dll

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Well sorry Sam… but i can’t understand that ! I have some others SDL VC++
projects on my computer. I’ve used one for testing that and it works fine !
I can’t understand that !

So forget it and sorry to upset you !
Bye

“Hellegouarch” <@chellegouarch> a ?crit dans le message news:
8n0i72$af8$1 at ftp.lokigames.com

Hi guys !

Well as usual i’ve tried new version of SDL under Linux and Windows. Under
Linux it works great but under Windows I get a Kernel32.DLL error ! :wink:
I just try to compile under VC++5.0 a simple program (initialisation of
SDL> !), it is compiling fine but when i run the exe i get that stupid and
misunderstanding error !

So is anyone get the same probs ?

I should say that 1.1.3 works really fine !

Bye all
Lawouach