@Joost R But, since this thread is already far off straight track, I must say I don't like not being able to run a demo program right away without being stopped by compiling issues. Think this demo application was probably not very well tested on the Windows platform. Keep in mind that newbies wouldn't know what to do here.
To be clear, the EEDesktop sample is (among many other things) run on Mac, Windows and Linux for every Alpha, Beta and Release version before it is posted. This unnecessary usage of Str() has been there at least since 2013r1 and I have never seen it cause an error on run. So it would seem something else is at play. Regardless, I've removed the Str() usage in that method (from both EEDesktop and EEWeb) for 2019r1. :)