WinCE should always be compiled as UNICODE, even debugging version...
diff --git a/util/pl/VC-CE.pl b/util/pl/VC-CE.pl index 3267cd4..5473837 100644 --- a/util/pl/VC-CE.pl +++ b/util/pl/VC-CE.pl
@@ -22,7 +22,7 @@ if ($debug) { - $cflags=" /MDd /W3 /WX /Zi /Yd /Od /nologo -DOPENSSL_SYSNAME_WINCE -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32"; + $cflags=" /MDd /W3 /WX /Zi /Yd /Od /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32"; $lflags.=" /debug"; $mlflags.=' /debug'; }