[Mono-list] Can't run my EXE in Windows

Ian Norton ian.norton-badrul at thales-esecurity.com
Sat Aug 6 02:56:10 EDT 2011


Did you run the gtk-sharp installer on the other machine? or just copy the
dlls?

On Fri, Aug 05, 2011 at 09:01:57PM +0100, jimevt wrote:
> Hi All!
> 
>    I'm new to Mono, C#, Gtk#, etc.   Sorry if this is an easy question!   I
> searched for a while, but couldn't find an answer.
> 
> 
>    I'm using MonoDevelop w/Gtk# on a windows machine to develop a program
> named FvmRTD.exe.   I can build, debug, and run on the development machine.
>    I used MonoDevelop to create a ZIP package and brought it to a different
> Windows machine ( XP SP3 ).   When I try to run the EXE by double-clicking I
> get a pop-up window saying:
> 
>    "FvmRTD has encountered a problem and needs to close.   We are sorry for
> the inconvenience.   If you were in the middle of something,  the
> information you were working on might be lost."
> 
>    It also has a "Close" button.
> 
>    I figured that no GTK# installed might be a problem.  I was hoping to not
> make users install Gtk# separately, so I also copied some of the gtk libs (
> referenced by my solution ) into the same directory as the EXE.   Same
> problem.
> 
>    I then installed Gtk# on the target Windows machine, but I still got the
> same error message.
> 
> 
>    What am I doing wrong?
> 
>    Thanks!
> 
> JimE.
> 
> 
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Can-t-run-my-EXE-in-Windows-tp3722153p3722153.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list