wsdl: check handles before using, prevent bogus error message due to stupid MapWindowPoints return value cursor: robustify, add CppDoc This was SVN commit r6096.