Extended Msg hook text limit, msg hook prompts before switching between 32 and 64 bits, optionally disable uiabridge's caches

Message Hook Viewer text limit is not set to 700,000 characters,
allowing it to show many more messages/lines
Message Hook Viewer will prompt user if the want to switch between 64
and 32 bits.
UiaBridge has an optional flag to disable cache.  This fixes an issue
where caching is either slower or causes issues when using multiple
threads in OASIS.
This commit is contained in:
Edward Jakubowski
2014-06-04 06:46:56 -04:00
parent d100d23259
commit eaff0dd277
21 changed files with 162 additions and 53 deletions

View File

@@ -78,11 +78,15 @@ void MsgHook_CreateMsgHookWindow(LPTSTR args)
if (msgHookDll != NULL)
{
CreateMsgHookWindow = (CREATEMSGHOOKWINDOW)GetProcAddress(msgHookDll, "CreateMsgHookWindow");
SetGlobalDLLInstance = (SETGLOBALDLLINSTANCE)GetProcAddress(msgHookDll, "SetGlobalDLLInstance");
if (CreateMsgHookWindow)
{
SetGlobalDLLInstance(msgHookDll);
CreateMsgHookWindow(args);
}
}
if (msgHookDll != NULL)
FreeLibrary(msgHookDll);
}
BOOL MsgHook_SetMsgHook(HWND hw, int threadId)

View File

@@ -57,6 +57,7 @@ int _tmain(int argc, _TCHAR* argv[])
TCHAR tmp[100];
_stprintf_s(tmp, _T("%ld"), (long)procId);
MsgHook_CreateMsgHookWindow(tmp);
//_getch();
return 0;
}