Win32 exception for coordinate transformation