Improved error description in windows library.