Commit 071ae4e1 authored by SND\kernelnet_cp's avatar SND\kernelnet_cp
Browse files

[pykd] added : unicode support for dbgCommand routine

git-svn-id: https://pykd.svn.codeplex.com/svn@70214 9b283d60-5439-405e-af05-b73fd8c4d996
parent d7cbbd01
......@@ -11,7 +11,7 @@
///////////////////////////////////////////////////////////////////////////////
std::string
dbgCommand( const std::string &command )
dbgCommand( const std::wstring &command )
{
HRESULT hres;
......@@ -19,7 +19,7 @@ dbgCommand( const std::string &command )
{
PyThread_StateRestore pyThreadRestore;
hres = dbgExt->control->Execute( DEBUG_OUTCTL_THIS_CLIENT, command.c_str(), 0 );
hres = dbgExt->control4->ExecuteWide( DEBUG_OUTCTL_THIS_CLIENT, command.c_str(), 0 );
}
if ( FAILED( hres ) )
throw DbgException( "IDebugControl::Execute failed" );
......
......@@ -7,7 +7,7 @@
/////////////////////////////////////////////////////////////////////////////////
std::string
dbgCommand( const std::string &command );
dbgCommand( const std::wstring &command );
template <ULONG status>
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment