diff --git a/vnr/texthook/host/pipe.cc b/vnr/texthook/host/pipe.cc index eaa1a30..a1fccde 100644 --- a/vnr/texthook/host/pipe.cc +++ b/vnr/texthook/host/pipe.cc @@ -9,6 +9,7 @@ #include "vnrhook/include/const.h" #include "ithsys/ithsys.h" #include +#include //#include "CommandQueue.h" //#include @@ -267,7 +268,8 @@ DWORD WINAPI RecvThread(LPVOID lpThreadParameter) lock = 0; } break; case HOST_NOTIFICATION_TEXT: - //qDebug() << ((LPCSTR)(buff + 8)); + USES_CONVERSION; + man->AddConsoleOutput(A2W((LPCSTR)(buff + 8))); break; } } else { diff --git a/vnr/vnrhook/src/main.cc b/vnr/vnrhook/src/main.cc index ffd51b1..ef72b75 100644 --- a/vnr/vnrhook/src/main.cc +++ b/vnr/vnrhook/src/main.cc @@ -302,7 +302,8 @@ DWORD NewHook(const HookParam &hp, LPCSTR name, DWORD flag) strcpy(str, name); } - ConsoleOutput("vnrcli:NewHook: try inserting hook"); + ConsoleOutput("vnrcli:NewHook: try inserting hook:"); + ConsoleOutput(str); // jichi 7/13/2014: This function would raise when too many hooks added ::hookman[current].InitHook(hp, str, flag & 0xffff);