[SDL] Wince improvments

Ryan C. Gordon icculus at icculus.org
Mon Apr 30 13:27:45 PDT 2007


> 1)First you can declare a macro _T("") and a TCHAR type.

All strings coming into and going out of SDL are UTF-8 encoded...on 
PocketPC, we convert to what they call "UNICODE" internally as needed.

The UTF-8 stuff is fairly new, and I think Dmitry is the only person 
that works with our PocketPC stuff, so it's entirely possible that we 
broke it recently and he hasn't had a chance to clean up our messes.

The URL you linked to is actually superseded by new code in SDL:

/* Pocket PC GAPI SDL video driver implementation;
Implemented by Dmitry Yakimov - support at activekitten.com
Inspired by http://arisme.free.fr/ports/SDL.php
*/

I'm not sure if the "windib" support should be compiled at all on 
PocketPC (as the GAPI driver is what should be used for video), but I 
really don't know much about SDL/pocketpc. Is it possible you used the 
Windows project files in VisualC.zip, but should have used VisualCE.zip 
instead?

--ryan.




More information about the SDL mailing list