# SDL1.1.4 probs under Windows!

**URL:** <https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969>\
**Category:** SDL Development\
**Created:** [August 11, 2000, 9:48am UTC](https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969 "2000-08-11T09:48:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chellegouarch](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@chellegouarch](https://discourse.libsdl.org/u/chellegouarch)\
**Post date:** [August 11, 2000, 9:48am UTC](https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969/1 "2000-08-11T09:48:21Z")

</div>

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 ! 😉  
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

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [August 11, 2000, 2:47pm UTC](https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969/2 "2000-08-11T14:47:27Z")

</div>

> 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 ! 😉  
> 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

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [August 11, 2000, 2:48pm UTC](https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969/3 "2000-08-11T14:48:26Z")

</div>

> 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 ! 😉  
> 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](http://www.libsdl.org/cvs/SDL.dll)

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

---

<div class="post-metadata">

**Author:** ![chellegouarch](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@chellegouarch](https://discourse.libsdl.org/u/chellegouarch)\
**Post date:** [August 11, 2000, 4:47pm UTC](https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969/4 "2000-08-11T16:47:12Z")

</div>

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](http://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 ! 😉  
> > 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](http://www.libsdl.org/cvs/SDL.dll)
> 
> See ya!  
> -Sam Lantinga, Lead Programmer, Loki Entertainment Software

---

<div class="post-metadata">

**Author:** ![chellegouarch](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@chellegouarch](https://discourse.libsdl.org/u/chellegouarch)\
**Post date:** [August 11, 2000, 4:55pm UTC](https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969/5 "2000-08-11T16:55:55Z")

</div>

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](http://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 ! 😉  
> > 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](http://www.libsdl.org/cvs/SDL.dll)
> 
> See ya!  
> -Sam Lantinga, Lead Programmer, Loki Entertainment Software

---

<div class="post-metadata">

**Author:** ![chellegouarch](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@chellegouarch](https://discourse.libsdl.org/u/chellegouarch)\
**Post date:** [August 11, 2000, 5:02pm UTC](https://discourse.libsdl.org/t/sdl1-1-4-probs-under-windows/2969/6 "2000-08-11T17:02:49Z")

</div>

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](http://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 ! 😉  
> 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
