Hi,

I have just installed Mono 1.1.5 becouse I was not managed to run Windows.Forms 
applications under 1.1.4.
Windows.Forms apps do not run again Mono's messages are below. What to do now?

(I do not know whether I should install cocoa-sharp. Under 
http://www.go-mono.com/archive/1.1.5/cocoa-sharp-0.2.tgz there is a HTTP 404 
error page so I got it from 
http://www.go-mono.com/archive/1.1.4/cocoa-sharp-0.2.tgz but I have not 
installed yet.)

[EMAIL PROTECTED]:~/Documents/mono_test/01> mono MonoTest01.exe 

Mono System.Windows.Forms Assembly [Revision: 41731; built: 2005/2/15 5:56:12]

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown  by the type initializer for System.Windows.Forms.XplatUI ---> 
System.Reflection
.TargetInvocationException: Exception has been thrown by the target of an 
invoca tion. ---> System.NotSupportedException: Either image format is unknown 
or you d on't have the required libraries for this format. in <0x0016e> 
System.Drawing.GDIPlus:CheckStatus (Status status) in <0x000cd> 
System.Drawing.Image:InitFromStream (System.IO.Stream stream) in (wrapper 
remoting-invoke-with-check) System.Drawing.Image:InitFromStream (Sys
tem.IO.Stream)
in <0x00104> System.Drawing.Bitmap:.ctor (System.Runtime.Serialization.Serializa
tionInfo info, StreamingContext context)
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (obj
ect,object[])
in <0x0006f> System.Reflection.MonoCMethod:Invoke (System.Object obj, 
BindingFla gs invokeAttr, System.Reflection.Binder binder, System.Object[] 
parameters, Syst em.Globalization.CultureInfo culture)--- End of inner 
exception stack trace ---

in <0x00107> System.Reflection.MonoCMethod:Invoke (System.Object obj, 
BindingFla gs invokeAttr, System.Reflection.Binder binder, System.Object[] 
parameters, Syst em.Globalization.CultureInfo culture) in <0x00017> 
System.Reflection.MethodBase:Invoke (System.Object obj, System.Obje ct[] 
parameters) in <0x0021d> System.Runtime.Serialization.ObjectRecord:LoadData 
(System.Runtime. Serialization.ObjectManager manager, ISurrogateSelector 
selector, StreamingConte xt context) in <0x00104> 
System.Runtime.Serialization.ObjectManager:DoFixups () in <0x0003f> 
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNex
tObject (System.IO.BinaryReader reader)
in <0x000b0> System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObj
ectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object 
resu lt, System.Runtime.Remoting.Messaging.Header[] headers) in <0x00126> 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Dese
rialize (System.IO.Stream serializationStream, 
System.Runtime.Remoting.Messaging .HeaderHandler handler) in <0x00012> 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Dese
rialize (System.IO.Stream serializationStream)
in <0x0052b> System.Resources.ResourceReader:ResourceValue (Int32 index) in 
<0x00023> System.Resources.ResourceReader+ResourceEnumerator:get_Value () in 
<0x00090> System.Resources.ResourceSet:ReadResources () in <0x00039> 
System.Resources.ResourceSet:GetObject (System.String name, Boolean 
ignoreCase)
in <0x000d3> System.Resources.ResourceManager:GetObject (System.String name, 
System.Globalization.CultureInfo culture)
in <0x00010> System.Resources.ResourceManager:GetObject (System.String name) in 
<0x0001d> System.Windows.Forms.Locale:GetText (System.String msg) in <0x00500> 
System.Windows.Forms.X11Keyboard:DetectLayout () in <0x00063> 
System.Windows.Forms.X11Keyboard:.ctor (IntPtr display) in <0x002f5> 
System.Windows.Forms.XplatUIX11:SetDisplay (IntPtr display_handle) in <0x00098> 
System.Windows.Forms.XplatUIX11:.ctor () in <0x00043> 
System.Windows.Forms.XplatUIX11:GetInstance () in <0x00059> 
System.Windows.Forms.XplatUI:.cctor ()--- End of inner exception stack trace 
---

in <0x00000> <unknown method>
in <0x0004b> System.Windows.Forms.Form:get_CreateParams ()
in <0x001fc> System.Windows.Forms.Control:.ctor ()
in <0x00011> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x0000c> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00010> System.Windows.Forms.Form:.ctor ()
in <0x0000a> MonoTest01.Form1:.ctor ()
in (wrapper remoting-invoke-with-check) MonoTest01.Form1:.ctor () in <0x0001a> 
MonoTest01.Form1:Main ()

Thanks!

(K)
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to