James McKenzie wrote:
James McKenzie wrote:
James McKenzie wrote:
James Hawkins wrote:
On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie jjmckenzie51@earthlink.net wrote:
All:
Is there documentation anywhere on how to use the TRACE command?
I am trying to print out the contents of a UNICODE string using this commnd.
Thank you.
There are thousands and thousands of examples in the source already.
wchar* unicode_str; or LPWSTR unicode_str;
TRACE("%s\n", debugstr_w(unicode_str));
Duh.... I knew the answer was simple. I think this needs a page on the Wiki in the developer area. I just could not find an example in all of the TRACEs there....
Thank you James.
One further question, will this work with printf or will I have to do something else?
I'm trying to find out why the UNICODE'd version of the same ASCII letter is not being interpeted the same. This just recently stopped working as well.
Had to go to TRACE. Using this with printf produced a wonderful error (function not found).
Still did not work. Used ok and now am trying to figure out what is truncating the string....
James McKenzie