[pykd] added : unicode support for dbgCommand routine

git-svn-id: https://pykd.svn.codeplex.com/svn@70214 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2011-10-05 08:13:51 +00:00
parent d7cbbd016a
commit 071ae4e12a
2 changed files with 3 additions and 3 deletions

View File

@ -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" );

View File

@ -7,7 +7,7 @@
/////////////////////////////////////////////////////////////////////////////////
std::string
dbgCommand( const std::string &command );
dbgCommand( const std::wstring &command );
template <ULONG status>
void