I'm using MS Developer Studio and want to see the debug output (fprintf gets lost within MS Dev Studio).
I want to use OutputDebugString(), but it takes a LPCWSTR.
How do I convert from a QString to a LPCWSTR?
- brc
I'm using MS Developer Studio and want to see the debug output (fprintf gets lost within MS Dev Studio).
I want to use OutputDebugString(), but it takes a LPCWSTR.
How do I convert from a QString to a LPCWSTR?
- brc
Then maybe you should try qDebug()?
Try QString::toWCharArray().
bruccutler (1st May 2007)
Bookmarks