This adds yet another build dependency, but it's better than the alternatives of handling it in code.
This shaves off about half a megabyte.
This has been more of an exercise. The performance of Msftedit.dll is rather abysmal, and its interface isn't the most accomodating. That said, the frontend is quite usable, at least on Windows 10+.