http://qs321.pair.com?node_id=11143396


in reply to Re: Unable to capture mouse events in Win32::Console
in thread Unable to capture mouse events in Win32::Console

Your while loop loops ~700k times in 15s for me, and somewhat fully loads 2 cores even without me touching anything. It's NOT the result supposed to arise from advice given.

+ Not an expert on these, Info seems to produce valid list if STD_OUTPUT_HANDLE was used to create an object.

+ Win32::GUI was not "written in 2017", is built on same-time as Win32::Console i.e. dated and legacy some-middle-90s MS API.