ext/UiaDll/UiaDll/TextMethods.cpp in uia-0.4.1 vs ext/UiaDll/UiaDll/TextMethods.cpp in uia-0.4.2
- old
+ new
@@ -8,10 +8,10 @@
StringHelper::CopyToUnmanagedString(theText, text, textLength);
}
return theText->Length;
} catch(Exception^ e) {
- StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength);
+ StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength);
return 0;
}
}
}
\ No newline at end of file