Re: TRACE () documentation
James McKenzie wrote: James McKenzie wrote: James McKenzie wrote: James Hawkins wrote: On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie 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
Re: TRACE () documentation
James McKenzie wrote: James McKenzie wrote: James Hawkins wrote: On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie 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). James McKenzie
Re: TRACE () documentation
James McKenzie wrote: James Hawkins wrote: On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie 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. James McKenzie
Re: TRACE () documentation
Nikolay Sivov wrote: > On 1/15/2010 05:31, James McKenzie wrote: >> James Hawkins wrote: >> >>> On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie >>> 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. >> > http://www.winehq.org/docs/winedev-guide/dbg-helpers > > Last paragraph. No? > > Yes, Nikolay. A search using TRACE of the entire Winehq site did not reveal this on the first page. I blame Google... James McKenzie
Re: TRACE () documentation
On 1/15/2010 05:31, James McKenzie wrote: James Hawkins wrote: On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie 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. http://www.winehq.org/docs/winedev-guide/dbg-helpers Last paragraph. No?
Re: TRACE () documentation
James McKenzie wrote: James Hawkins wrote: On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie 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. To be fair, it is mentioned at http://www.winehq.org/docs/winedev-guide/dbg-helpers though the given example is for FIXME, not TRACE. ~Nate
Re: TRACE () documentation
James Hawkins wrote: > On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie > 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.
Re: TRACE () documentation
On Thu, Jan 14, 2010 at 6:19 PM, James McKenzie 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)); -- James Hawkins
TRACE () documentation
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. James McKenzie