My SDL test project is not working

Hello everybody, this is my new post here… I am start to study SDL.
I have a good knowledge in allegro and c++, but I see that SDL is more professional…
My problem is that my simple learning project is not running. The window open and close, even if I put a infinit loop on it.
Maybe the problem is the configuration, or it doesn t work with windows 98…someone can help?

Following the code:

#include "SDL/SDL.h" 
int main( int argc, char* args[] ) { 


SDL_Surface *sprite = NULL;
SDL_Surface *screen = NULL;

screen = SDL_SetVideoMode( 640, 480, 32, SDL_SWSURFACE ); 
sprite = SDL_LoadBMP( "hello.bmp" );

SDL_BlitSurface( sprite, NULL, screen, NULL );
SDL_Flip( screen );
SDL_Delay( 2000 );
SDL_FreeSurface( sprite ); 

return 0; 


Found the error… :smiley: