diff --git a/pykd/dbgio.cpp b/pykd/dbgio.cpp index f49bb38..ca4adac 100644 --- a/pykd/dbgio.cpp +++ b/pykd/dbgio.cpp @@ -14,7 +14,7 @@ void dbgPrint::dprint( const boost::python::object& obj, bool dml ) { std::wstring str = boost::python::extract( obj ); - HRESULT hres = dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, str.c_str() ); + HRESULT hres = dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, L"%ws", str.c_str() ); std::wcout << str; } @@ -26,7 +26,7 @@ void dbgPrint::dprintln( const boost::python::object& obj, bool dml ) std::wstring str = boost::python::extract( obj ); str += L"\r\n"; - dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, str.c_str() ); + dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, L"%ws", str.c_str() ); std::wcout << str; } diff --git a/pykd/pykd.rc b/pykd/pykd.rc index 54ff864..6555650 100644 --- a/pykd/pykd.rc +++ b/pykd/pykd.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,0,19,0 - PRODUCTVERSION 0,0,19,0 + FILEVERSION 0,0,20,0 + PRODUCTVERSION 0,0,20,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -70,11 +70,11 @@ BEGIN BLOCK "041904b0" BEGIN VALUE "FileDescription", "pykd - python extension for windbg" - VALUE "FileVersion", "0, 0, 19, 0" + VALUE "FileVersion", "0, 0, 20, 0" VALUE "InternalName", "pykd" VALUE "OriginalFilename", "pykd.dll" VALUE "ProductName", "pykd - python extension for windbg" - VALUE "ProductVersion", "0, 0, 19, 0" + VALUE "ProductVersion", "0, 0, 20, 0" END END BLOCK "VarFileInfo"