Haxe 3.x compatibility
Support for COM10 and higher on Windows
Changed open flags fro Linux