[SDL] error compiling vlc client

Felipe Gasper fgasper at uiuc.edu
Fri Jul 19 17:52:01 PDT 2002


Hello Corona688 and WinCE/SDL users,
What is the status of the PocketPC port?
Is it usable?
Is it fast?
Is it as fast as GapiDraw?
Does it use Gapi?

William,
 still clinging to Gapidraw while SDL evolves
   

Corona688 wrote:

>Found a nasty WinCE bug in SDL_dibevents.c, within
>DIB_CreateWindow(_THIS)
>
>Apparently, nLen is getting the length of a string that doesn't exist
>yet;  moved the code so that it's called AFTER SDL_RegisterApp rather
>than before...
>
>//code snip begins
>int DIB_CreateWindow(_THIS)
>{
>#ifdef _WIN32_WCE
> // WinCE uses the UNICODE version
>
> int nLen;
> LPWSTR lpszW;
>
> if(SDL_RegisterApp("SDL_app", 0, 0)!=0)
> {
>  return -1;
> }
>
> nLen = strlen(SDL_Appname)+1;
> lpszW= alloca(nLen*2);
>
> MultiByteToWideChar(CP_ACP, 0, "SDL_App", -1, lpszW, nLen);
>//code snip ends
>
>
>_______________________________________________
>SDL mailing list
>SDL at libsdl.org
>http://www.libsdl.org/mailman/listinfo/sdl
>
>  
>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the SDL mailing list