s$ = ReadConsoleStr()
ReadConsoleStr() isn't compatible with the Delay option of
SetConsoleOptions(). It will only work correctly if Delay is set to True, which
is also the default. This implies that ReadConsoleStr() is always meant to block until
there's some input on the console.
You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.