On Friday, 26 October 2018 at 15:10:14 UTC, Mark Moorhen wrote: > It does compile, but does not run as expected. Any clues? You imported, but never actually called Runtime.initalize(). Just stick that at the top, first thing you do inside WinMain, and it will work. (or use main instead of WinMain!)