mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[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:
parent
d7cbbd016a
commit
071ae4e12a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user