[Mono-bugs] [Bug 69379][Blo] Changed - mono fails to execute the program and exits with anomalous error message
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Nov 2004 17:14:42 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=69379
--- shadow/69379 2004-11-11 16:10:52.000000000 -0500
+++ shadow/69379.tmp.28453 2004-11-11 17:14:42.000000000 -0500
@@ -51,6 +51,13 @@
I have no clue. I'm a mono rookie.
------- Additional Comments From csali@tiscali.it 2004-11-11 16:09 -------
Created an attachment (id=13213)
this (messy) program triggers the bug
+
+------- Additional Comments From vargaz@freemail.hu 2004-11-11 17:14 -------
+UnmanagedType.BSTR is for interoperating with COM on windows, and mono
+does not support that at all. You probably want to use
+UnmanagedType.LPStr (for C char*), or UnmanagedType.LPWStr (for
+C wchar or gunichar2).
+