Compatibility SDL with Windows VISTA

Have a good day.
COMPUTER : TOSHIBA SATELLITE
O.S. WINDOWS : VISTA PREMIUM FAMILIAL EDITION
IDE : VISUAL C++ 2008 Express
LANGAGE : C/C++
LIBRARY : SDL-1.2.14
VERSION : SDL-devel-1.2.14-VC8.zip(Visual C++ 2005 Service Pack 1)
Reading ?README?(1.86 ko ) : It is said : ?The current version supports VISTA?
Reading?Doc.SDL? : It is only said : ?Win 32?
No problem to charge the library,nor to modify options in the project.
Problems start when calling SDL.
Here is my code
#include
#include
include?SDL.h>
int main()
{
SDL_Init(SDL-INIT_EVERYTHING);
SDL_Quit();
Return 0;
}
I?m very confusing,as I?m learning C langage since 8 months and I cannot progress with practical part.
Please can You help effectively?
Many thanks
M.VIALLETON

Hi,

and what exactly is a problem? The code seems to only Init and Quit
the SDL subsystems. To see anything on your screen you should also
create a window using SDL_SetVideoMode (for SDL 1.2) or
SDL_CreateWindow (for SDL 1.3). You’d better Google some SDL tutorials
and examples to see what else is required…

PavelOn 7.2.2010, at 10:38, Michel VIALLETON wrote:

Have a good day.
COMPUTER : TOSHIBA SATELLITE
O.S. WINDOWS : VISTA PREMIUM FAMILIAL EDITION
IDE : VISUAL C++ 2008 Express
LANGAGE : C/C++
LIBRARY : SDL-1.2.14
VERSION : SDL-devel-1.2.14-VC8.zip(Visual C++ 2005 Service Pack 1)
Reading ?README?(1.86 ko ) : It is said : ?The current version
supports VISTA?
Reading?Doc.SDL? : It is only said : ?Win 32?
No problem to charge the library,nor to modify options in the project.
Problems start when calling SDL.
Here is my code
#include
#include
include?SDL.h>
int main()
{
SDL_Init(SDL-INIT_EVERYTHING);
SDL_Quit();
Return 0;
}
I?m very confusing,as I?m learning C langage since 8 months and I
cannot progress with practical part.
Please can You help effectively?
Many thanks
M.VIALLETON


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Pavel Kanzelsberger


E-Mail: pavel at kanzelsberger.com
Jabber: kanzelsberger at jabber.org, ICQ: 20990633

Your code, as posted, should not compile. If it isn’t compiling, you
should be getting errors that at least hint at what the error is.
Googling those errors should be enlightening. The errors you made are
extremely basic and have nothing to do with SDL, it just happens that
you are using SDL when you first ran into them.

If you make an honest attempt to try and fix the problems (
http://mattgemmell.com/2008/12/08/what-have-you-tried ), then if you
come back with a lot more information we’ll be more than happy to help
you out.On 7 February 2010 09:38, Michel VIALLETON <vialleton.tobing at orange.fr> wrote:

Have a good day.

Problems ?start when calling SDL.

Here is my code

#include

#include

include?SDL.h>

int main()

{

SDL_Init(SDL-INIT_EVERYTHING);

SDL_Quit();

Return 0;
}

I?m very confusing,as I?m learning C langage since 8 months and I cannot
progress with practical part.