Does FreeBASIC also make it run (even) quicker?
It's the same WinAPI call. The nice thing about FreeBASIC is it produces very small win32 stand-alone exe files with no basic run time needed. awa.exe is 81 KB and that's that.
Now the zip download is 40 KB instead of 400 KB.
I just determined there was no advantage to using a gui app in this case. Rewrote it in FreeBASIC mainly to keep from forgetting all my FB as well as making the exe smaller.
Also this version doesn't output to stderr. Just makes it easier to redirect the output to a log file or whatever.