First thanks for reading... then thanks for helping if you can!<br><br>Trying to run a simple System.Windows.Forms app (see very bottom for code) gives this:<br>$ which gdiplus.dll<br>/cygdrive/c/WINDOWS/system32/gdiplus.dll
<br><br>$ MONO_DEBUG_LEVEL=debug mono test.exe<br><br>Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.<br>Mono-INFO: DllImport loading location: 'gdiplus.dll'.<br>Mono-INFO: Searching for 'GdipLoadImageFromDelegate_linux'.
<br>Mono-INFO: Probing 'GdipLoadImageFromDelegate_linux'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@28'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@4'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@8'.
<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@12'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@16'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@20'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@24'.
<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@28'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@32'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@36'.<br>Mono-INFO: Probing '_GdipLoadImageFromDelegate_linux@40'.
<br><br>&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; this continues for awhile<br><pre>Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Form
 ---&gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.InvalidProgramException: Invalid IL code in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipLoadImageFromStream
 (System.Runtime.InteropServices.UCOMIStream,intptr&amp;): IL_0010: call      0x00000002<br>in &lt;0x00000&gt; &lt;unknown method&gt;<br>in &lt;0x001d3&gt; System.Drawing.Image:InitFromStream (System.IO.Stream stream)<br>
in &lt;0x000fb&gt; System.Drawing.Bitmap:.ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context)<br>in &lt;0x00000&gt; &lt;unknown method&gt;<br>in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
 (object,object[])<br>in &lt;0x0008d&gt; System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)--- End of inner exception stack trace ---
<br><br>in &lt;0x0010e&gt; System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)<br>in &lt;0x0001a&gt; 
System.Reflection.MethodBase:Invoke (System.Object obj, System.Object[] parameters)<br>in &lt;0x001db&gt; System.Runtime.Serialization.ObjectRecord:LoadData (System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector selector, StreamingContext context)
<br>in &lt;0x00110&gt; System.Runtime.Serialization.ObjectManager:DoFixups ()<br>in &lt;0x00042&gt; System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject (System.IO.BinaryReader reader)<br>in &lt;0x000a3&gt; 
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object result, System.Runtime.Remoting.Messaging.Header[] headers)<br>in &lt;0x0011f&gt; 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler)<br>in &lt;0x0000f&gt; System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
 (System.IO.Stream serializationStream)<br>in &lt;0x00032&gt; System.Resources.ResourceReader:ReadNonPredefinedValue (System.Type exp_type)<br>in &lt;0x0031e&gt; System.Resources.ResourceReader:ReadValueVer1 (System.Type type)
<br>in &lt;0x00163&gt; System.Resources.ResourceReader:ResourceValue (Int32 index)<br>in &lt;0x00028&gt; System.Resources.ResourceReader+ResourceEnumerator:get_Value ()<br>in &lt;0x0007e&gt; System.Resources.ResourceSet:ReadResources
 ()<br>in &lt;0x00049&gt; System.Resources.ResourceSet:GetObject (System.String name, Boolean ignoreCase)<br>in &lt;0x0007a&gt; System.Resources.ResourceManager:GetObject (System.String name, System.Globalization.CultureInfo
 culture)<br>in &lt;0x00010&gt; System.Resources.ResourceManager:GetObject (System.String name)<br>in &lt;0x00017&gt; System.Windows.Forms.Locale:GetResource (System.String name)<br>in &lt;0x00011&gt; System.Windows.Forms.Form:.cctor
 ()--- End of inner exception stack trace ---<br><br>in &lt;0x00000&gt; &lt;unknown method&gt;<br>in &lt;0x0000b&gt; WindowsApplication1.Form1:.ctor ()<br>in (wrapper remoting-invoke-with-check) WindowsApplication1.Form1:.ctor
 ()<br>in &lt;0x00018&gt; WindowsApplication1.Program:Main ()</pre>===============================source code<br>using System;<br>using System.Windows.Forms;<br><br>namespace WindowsApplication1<br>{<br>&nbsp;&nbsp;&nbsp; public partial class Form1 : Form
<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Form1()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static class Program<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /// &lt;summary&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /// The main entry point for the application.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /// &lt;/summary&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static void Main()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application.Run(new Form1());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>}<br>