зеркало из https://github.com/mono/mail-archives.git
149 строки
5.8 KiB
HTML
149 строки
5.8 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Mono-osx] System.Drawing problems with Mono 2.8.1
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20System.Drawing%20problems%20with%20Mono%202.8.1&In-Reply-To=1290198611438-3050944.post%40n4.nabble.com">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="003355.html">
|
||
|
<LINK REL="Next" HREF="003362.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Mono-osx] System.Drawing problems with Mono 2.8.1</H1>
|
||
|
<B>Stifu</B>
|
||
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20System.Drawing%20problems%20with%20Mono%202.8.1&In-Reply-To=1290198611438-3050944.post%40n4.nabble.com"
|
||
|
TITLE="[Mono-osx] System.Drawing problems with Mono 2.8.1">stifu at free.fr
|
||
|
</A><BR>
|
||
|
<I>Sat Nov 20 06:15:36 EST 2010</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="003355.html">[Mono-osx] System.Drawing problems with Mono 2.8.1
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="003362.html">[Mono-osx] System.Drawing problems with Mono 2.8.1
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#3361">[ date ]</a>
|
||
|
<a href="thread.html#3361">[ thread ]</a>
|
||
|
<a href="subject.html#3361">[ subject ]</a>
|
||
|
<a href="author.html#3361">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>
|
||
|
This is a regression.
|
||
|
See:
|
||
|
<A HREF="http://mono.1490590.n4.nabble.com/windows-form-regression-with-mono-2-8-1-tc3048328.html">http://mono.1490590.n4.nabble.com/windows-form-regression-with-mono-2-8-1-tc3048328.html</A>
|
||
|
|
||
|
Geoff Norton replied to this, but for some reason his message doesn't appear
|
||
|
on the forum / nabble side of the mailing list at the moment, so I'm going
|
||
|
to repost what he said:
|
||
|
|
||
|
"It seems I introduced a regression, my apologies.
|
||
|
|
||
|
I've commited a fix in 14f0ab6 and uploaded a hotfix to:
|
||
|
|
||
|
<A HREF="http://sublimeintervention.com/mwf-hotfix.zip">http://sublimeintervention.com/mwf-hotfix.zip</A>
|
||
|
|
||
|
Download that file and unzip its contents to:
|
||
|
|
||
|
/Library/Frameworks/Mono.framework/Versions/Current/lib/mono
|
||
|
|
||
|
and it should resolve the issue.
|
||
|
|
||
|
Please let me know if there are any further problems.
|
||
|
|
||
|
-g"
|
||
|
|
||
|
|
||
|
ChristianManthey wrote:
|
||
|
><i>
|
||
|
</I>><i> Hi,
|
||
|
</I>><i>
|
||
|
</I>><i> i tried to run my application today with the current 2.8.1 framework on a
|
||
|
</I>><i> G5 and encountered some strange errors in the Systems.Drawing.Bitmap
|
||
|
</I>><i> class. After some tests i decided to upgrade my own MacBook from 2.6.7 to
|
||
|
</I>><i> the new version and ran into the same error.
|
||
|
</I>><i>
|
||
|
</I>><i> Object reference not set to an instance of an object
|
||
|
</I>><i> at System.Drawing.Graphics.Dispose () [0x00000] in <filename unknown>:0
|
||
|
</I>><i> at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:Dispose
|
||
|
</I>><i> ()
|
||
|
</I>><i> at System.Drawing.Bitmap..ctor (System.Drawing.Image original, Int32
|
||
|
</I>><i> width, Int32 height) [0x00000] in <filename unknown>:0
|
||
|
</I>><i> at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor
|
||
|
</I>><i> (System.Drawing.Image,int,int)
|
||
|
</I>><i>
|
||
|
</I>><i> The function call was the following:
|
||
|
</I>><i> newBitmap = new Bitmap(orgImage, iWidth, iHeight);
|
||
|
</I>><i> This code is executed in a separate thread controlled by the main window
|
||
|
</I>><i> thread.
|
||
|
</I>><i>
|
||
|
</I>><i> Now i tried to remove the 2.8.1 version (with the script from
|
||
|
</I>><i> <A HREF="http://www.mono-project.com/Mono:OSX">http://www.mono-project.com/Mono:OSX</A>) and installed the old 2.6.7 version
|
||
|
</I>><i> again, but now i do get a different error message...
|
||
|
</I>><i>
|
||
|
</I>><i> Generic Error [GDI+ status: GenericError]
|
||
|
</I>><i> at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in
|
||
|
</I>><i> <filename unknown>:0
|
||
|
</I>><i> at System.Drawing.Image.Save (System.String filename,
|
||
|
</I>><i> System.Drawing.Imaging.ImageCodecInfo encoder,
|
||
|
</I>><i> System.Drawing.Imaging.EncoderParameters encoderParams) [0x00000] in
|
||
|
</I>><i> <filename unknown>:0
|
||
|
</I>><i> at (wrapper remoting-invoke-with-check) System.Drawing.Image:Save
|
||
|
</I>><i> (string,System.Drawing.Imaging.ImageCodecInfo,System.Drawing.Imaging.EncoderParameters)
|
||
|
</I>><i>
|
||
|
</I>><i> I also tried to use the 2.8 version but with no luck.
|
||
|
</I>><i>
|
||
|
</I>><i> Is there someone replaced with the 2.8.1 version that is not deleted with
|
||
|
</I>><i> the script mentioned above and that is also not replaced with the 2.6.7
|
||
|
</I>><i> version in the area of System.Drawing?
|
||
|
</I>><i>
|
||
|
</I>><i> Any help is highly appreciated!
|
||
|
</I>><i>
|
||
|
</I>><i> Kind regards,
|
||
|
</I>><i> Christian
|
||
|
</I>><i>
|
||
|
</I>
|
||
|
--
|
||
|
View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/System-Drawing-problems-with-Mono-2-8-1-tp3050944p3051451.html">http://mono.1490590.n4.nabble.com/System-Drawing-problems-with-Mono-2-8-1-tp3050944p3051451.html</A>
|
||
|
Sent from the Mono - OSX mailing list archive at Nabble.com.
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="003355.html">[Mono-osx] System.Drawing problems with Mono 2.8.1
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="003362.html">[Mono-osx] System.Drawing problems with Mono 2.8.1
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#3361">[ date ]</a>
|
||
|
<a href="thread.html#3361">[ thread ]</a>
|
||
|
<a href="subject.html#3361">[ subject ]</a>
|
||
|
<a href="author.html#3361">[ 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>
|