WIN10. How to disable delay caused by defender smart screen or consentui processes reading huge installers?

OS: Win 10 Pro 1903. Problem: When opening huge installers, the ‘defender smart screen’ or ‘consentui’ processes are reading the whole file, which is slow for multy-gigabyte installers. I want to find an option to leave defender and consentui enabled, but disable file hash calculation (which I believe is causing slowdown) and scanning of huge…

Details

SwiftUI scaling TextField using GoemetryReader makes buggy looking text when resizing the window

not-ios I have been told that I should ask individual questions when I am experiencing TextField issues. So here is one. The issue is when the text size is dependant on window width, resizing the window gives it a buggy look. Take a look at the screenshots. Code: TextField(“World Name”, text: self.$WorldName) .font(.system(size: geometry.size.width/24)) .textFieldStyle(PlainTextFieldStyle())…

Details

SetWindowsHookEx – difference between VK_LSHIFT and “Search” keyboard button

I use SetWindowsHookEx to catch keyboard events SetWindowsHookEx(WH_KEYBOARD_LL, HookCallback, NULL, 0) Here is HookCallback LRESULT __stdcall HookCallback(int nCode, WPARAM wParam, LPARAM lParam) { if (nCode >= 0) { // the action is valid: HC_ACTION. if (wParam == WM_KEYDOWN) { kbdStruct = *((KBDLLHOOKSTRUCT*)lParam); printf(“%ld\n”, kbdStruct.vkCode); } } } When press “left shift” output is 160 when…

Details