mail-archives/mono-osx/2011-August/004466.html

108 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Problem with Mono 2.10.3_5 Windows.Forms
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Problem%20with%20Mono%202.10.3_5%20Windows.Forms&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004467.html">
<LINK REL="Next" HREF="004468.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Problem with Mono 2.10.3_5 Windows.Forms</H1>
<B>Amit Vyas</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Problem%20with%20Mono%202.10.3_5%20Windows.Forms&In-Reply-To="
TITLE="[Mono-osx] Problem with Mono 2.10.3_5 Windows.Forms">amitvyas.cse at gmail.com
</A><BR>
<I>Tue Aug 9 07:39:37 EDT 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004467.html">[Mono-osx] Integrating third party libraries
</A></li>
<LI>Next message: <A HREF="004468.html">[Mono-osx] Using NSOutlineView and NSTreeController
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4466">[ date ]</a>
<a href="thread.html#4466">[ thread ]</a>
<a href="subject.html#4466">[ subject ]</a>
<a href="author.html#4466">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi All,
I have a test application with single blank Windows.Form( written in VStudio
2010, directly ported on MAC to Test)
it crashed with following message, ( It was compiling properly with Mono
2.10.2 )
=====
Mono: 10.3.5_5 : MonoFramework-MDK-2.10.3_5.macos10.xamarin.x86.dmg
Mac : 10.6.8
MonoDevelop: 2.4.2
=====
What could possibly be wrong?
*System.EntryPointNotFoundException: GdipCreateFromContext_macosx
at (wrapper managed-to-native)
System.Drawing.GDIPlus:GdipCreateFromContext_macosx (intptr,int,int,intptr&amp;)
at System.Drawing.Graphics.FromHwnd (IntPtr hwnd) [0x00000] in &lt;filename
unknown&gt;:0
at System.Windows.Forms.XplatUICarbon.PaintEventStart
(System.Windows.Forms.Message&amp; msg, IntPtr handle, Boolean client) [0x00000]
in &lt;filename unknown&gt;:0
at System.Windows.Forms.XplatUI.PaintEventStart
(System.Windows.Forms.Message&amp; msg, IntPtr handle, Boolean client) [0x00000]
in &lt;filename unknown&gt;:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&amp; m)
[0x00000] in &lt;filename unknown&gt;:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&amp; m)
[0x00000] in &lt;filename unknown&gt;:0
at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&amp;
m) [0x00000] in &lt;filename unknown&gt;:0
at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message&amp; m)
[0x00000] in &lt;filename unknown&gt;:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message&amp; m) [0x00000] in &lt;filename unknown&gt;:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message&amp; m) [0x00000] in &lt;filename unknown&gt;:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] in &lt;filename unknown&gt;:0 *
--
Regards.
Amit Vyas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110809/27d74130/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20110809/27d74130/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004467.html">[Mono-osx] Integrating third party libraries
</A></li>
<LI>Next message: <A HREF="004468.html">[Mono-osx] Using NSOutlineView and NSTreeController
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4466">[ date ]</a>
<a href="thread.html#4466">[ thread ]</a>
<a href="subject.html#4466">[ subject ]</a>
<a href="author.html#4466">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>