Hi,
I am trying to run an exe file with mono on redhat linux. The exe file has been generated using the following command:
ironahk --out example.exe Example.ahk
IronAHK is the linux counterpart of autohotkey.
The exe file tries to draw a graphics window and it is running absolutely fine on windows XP.
With mono, it is giving the following error. Kindly help.
Thanks and Best Regards,
Sanjay
--> mono example.exe
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for Script --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.XplatUI --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus --->
System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System
.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyle s () [0x00000] in <filename unknown>:0
at Script..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Program.Main () [0x00000] in <filename unknown>:0
Exit 1
This content has not been rated yet.
15
Reputation
1
Total posts