mono/mono — pull request #218 by ermshiperete (2012-01-19 09:24:29+00:00)
Title: Set ErrorInfo

These changes implement setting and getting the error info in the Marshal class. This is necessary to pass error information to/from unmanaged code.

To successfully use this code on Linux there needs to be an implementation of the Get/SetErrorInfo methods available, e.g. by installing libcom (http://linux.lsdev.sil.org/svn/COM/trunk/; http://linux.lsdev.sil.org/wiki/index.php/Libcom). However, the new code has try/catch blocks around so if Get/SetErrorInfo methods can't be found it behaves as before.