private static extern IntPtr tobii_error_message_internal(tobii_error_t result_code);
public static string tobii_error_message(tobii_error_t result_code) { var pStr = tobii_error_message_internal(result_code); return(Marshal.PtrToStringAnsi(pStr)); }