mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 17:04:12 +08:00
add console output
This commit is contained in:
parent
6b63b91326
commit
df68a64aba
@ -9,6 +9,7 @@
|
|||||||
#include "vnrhook/include/const.h"
|
#include "vnrhook/include/const.h"
|
||||||
#include "ithsys/ithsys.h"
|
#include "ithsys/ithsys.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <atlbase.h>
|
||||||
//#include "CommandQueue.h"
|
//#include "CommandQueue.h"
|
||||||
//#include <QtCore/QDebug>
|
//#include <QtCore/QDebug>
|
||||||
|
|
||||||
@ -267,7 +268,8 @@ DWORD WINAPI RecvThread(LPVOID lpThreadParameter)
|
|||||||
lock = 0;
|
lock = 0;
|
||||||
} break;
|
} break;
|
||||||
case HOST_NOTIFICATION_TEXT:
|
case HOST_NOTIFICATION_TEXT:
|
||||||
//qDebug() << ((LPCSTR)(buff + 8));
|
USES_CONVERSION;
|
||||||
|
man->AddConsoleOutput(A2W((LPCSTR)(buff + 8)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -302,7 +302,8 @@ DWORD NewHook(const HookParam &hp, LPCSTR name, DWORD flag)
|
|||||||
strcpy(str, name);
|
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
|
// jichi 7/13/2014: This function would raise when too many hooks added
|
||||||
::hookman[current].InitHook(hp, str, flag & 0xffff);
|
::hookman[current].InitHook(hp, str, flag & 0xffff);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user