#include #include #include int wcslen(wchar_t* str) { int n; for (n=0; *(str++) != 0x0000; n++); return n; };