supersedes previous patch and also adds a linkto the techdocs page on Windows ports.
Ian Barwickbarwick(at)gmx(dot)net