Hello! I was wondering if there is any way to use a 16-bit-unicode-string with wine's TRACE, ERR or FIXME.
I was thinking about something like:
WCHAR text={'b','l','a',0}; TRACE("%?s", text);
However, I found that these functions are a quite complicated wrapper around vfprintf, wich only accepts ANSI or 32-bit-unicode-strings.
So could you tell me if wine has some WCHAR2char_t function or will i haveto use WideCharToMultiByte?
Thank you Fabian
Gibtsnich Gibtsauchnich wrote:
Hello! I was wondering if there is any way to use a 16-bit-unicode-string with wine's TRACE, ERR or FIXME.
Yes, you can use "debugstr_w(unicode_string)", which will return the Unicode string formatted so that it will display as an ANSI string. See include/wine/debug.h for more debug printing functions.
Rob