Skip to content

Instantly share code, notes, and snippets.

@saga
Created September 27, 2012 05:18
Show Gist options
  • Save saga/3792277 to your computer and use it in GitHub Desktop.
Save saga/3792277 to your computer and use it in GitHub Desktop.
outputdebugstring C++
TCHAR bufferWill[512];
_stprintf(bufferWill, TEXT(" ## [%s] BEGIN ##L%d\n"), __FUNCTION__,
,__LINE__);
::OutputDebugString(bufferWill);
// OLE2W(message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment