top | item 33150295

(no title)

lbruder | 3 years ago

If this is "just" sending keystrokes to notepad.exe, as in "ctrl-a, del, lots of keystrokes until one frame is done", then I'm actually more impressed by the speed keystrokes and redrawing are handled in the good ol' Win32 EDIT field.

discuss

order

no_time|3 years ago

>I'm actually more impressed by the speed keystrokes and redrawing are handled in the good ol' Win32 EDIT field.

I wonder what went wrong. I can't see today's MS ever living up to what the NT and desktop team delivered ~20 years ago.

Its baffling to think that the same company is responsible for Teams.

bombcar|3 years ago

Microsoft lost the OS war and is defending Office as best they can, which includes cross-platform tooling.

m000|3 years ago

Comparing a windows-only minimum viable visual text editor with a cross-platform videoconferencing software which integrates with a ton of other productivity software. Sounds legit.

I get it, Teams may not work perfectly on every setup. But the same goes with practically all enterprise-level videoconferencing solutions.

MonkeyClub|3 years ago

> Its baffling to think that the same company is responsible for Teams.

In an absolutely symmetric comparison, the Germans first gave us Goethe, and then..

Same company, but different teams I guess :)

anfractuosity|3 years ago

I thought it might be using the windows equivalent of PTRACE_POKETEXT, to poke data into notepad's memory.

I've altered the contents of the gedit text editor within a linux VM, via PTRACE_ATTACH and PTRACE_PEEKTEXT/PTRACE_POKETEXT, to find and modify the text.

quietbritishjim|3 years ago

Notepad opens files using memory mapping, so an alternative might be to open the same file also using memory mapping, and then you have shared memory directly with notepad.

Except, that would mean notepad updates the display as the file changes, and I didn't think it did that. So I think I've got something wrong.

bluedino|3 years ago

Some hacker just needs to wire the output up to Visual Studio Code