WSTRING are UNICODE strings while thinBasic strings are ascii strings.
Use UCODE$ to convert your string from ascii to UNICODE string when WSTRING is needed