4,716 karma · joined April 4, 2022
It just causes one big headache that a DLL can't simply return a pointer and have the caller use "free", because malloc/free can be incompatible across modules.
This just led to the COM standard, featuring reference-counted objects that don't care what underlying way was used to allocate the memory. For the situations where you do need memory buffers, COM enforces the use of CoTaskMemAlloc/CoTaskMemFree.
Windows 10 makes it literally impossible to write something that uses low memory and uses an actual window.
A copy can be found at https://github.com/Dwedit/NoCopilotKey/blob/main/stub.bin
Javascript says the key I pressed was keycode 220 (same number as 0xDC) or key "\".
I had Tandy 1000 as the selected machine. When I look at the onscreen keyboard, I don't see a backslash key underneath backspace, but I do see one next to left shift. For keyboards that have the alternate backslash there, it is listed as having a scancode of 0x56 and a VKEY code of VK_OEM_102 (0xE2). (I haven't actually checked information specific to the actual Tandy keyboard)
On a different note, never underestimate the value of a modal dialog that gives you a chance to retry an IO operation that failed. Loose USB cables and network shares over Wifi can make those happen a lot more often.
Microsoft's current privacy statement also says "Depending on your settings, this browsing history is sent to Microsoft"