I’m working in VC 6.0 WIN2000, and I want to use SDL_VIDEO to load BMP
file as turial shows.
[snip]
image=SDL_LoadBMP(“c:\1.bmp”);
You need to escape the backslash, like so: “c:\1.bmp”. BTW, most Windows
file functions seem to be quite happy dealing with forward slashes, so
"c:/1.bmp" probably works as well, and you don’t need to escape anything.
[snip]
but I get only black screen, and I dont know howto get error message as
beyong SDL_GetError(). hu
If you build as Windows Application, everything you printf() or
fprintf(stderr, …) will be redirected into a file called stdout.txt or
stderr.txt, respectively.
And yes, an SDL_ShowError() function would be useful