[SDL] Unicode wm caption

Will willeom at gmail.com
Sun Jan 6 21:49:53 PST 2008


OK Just got back to my house to test it (I’ve been away for 4 days).

My new build commands are:
./configure CPPFLAGS=-DUNICODE --enable-stdio-redirect=no
make
make install

Apparently this doesn’t work :~(. It seems that SDL doesn’t check weather UNICODE
is defined internally for the Win32 target when compiling. This causes ASCII
strings to be passed where the Windows API is expecting UTF-16 strings, thus
causing the program to barf! I don’t think anyone will really need unlocalized 
text in the title anyway, it was just something that I tested :~p. But hey if you
are willing to fix it that would be great :~)

Thanks for the help so far!
	--Bill




More information about the SDL mailing list