[Gtk-sharp-list] GIO# FileFactory.NewForCommandlineArgs System.EntryPointNotFoundException

Stephane Delcroix sdelcroix at novell.com
Mon Jun 15 11:12:35 EDT 2009


On Sun, 2009-06-14 at 09:44 +0200, Christian Hoff wrote:
> Yes, the GIO function is actually called g_file_new_for_commandline_arg 
>   ;-) . Attached is a simple patch to fix the issue(I think we can break 
> compatibility here since the old implementation was non-working). 
> Stephane, could you review? I assume the patch has to go into the 
> gio-sharp module as well?

applied, in both repositories. sorry for the original typo

s

> 
> Christian
> 
> Dan Saul wrote:
> > Hi,
> >
> > I have compiled Mono# from SVN to get access to GIO#. For the most 
> > part it works, I have no problem with the code:
> >
> > base_dir = FileFactory.NewForPath(v);
> >
> > However if I change it to
> >
> > base_dir = FileFactory.NewForCommandlineArgs(v);
> >
> > I would like to change this so that one can enter a URI or a Path on 
> > the command line.
> >
> > I recieve the following exception:
> >
> > Unhandled Exception: System.EntryPointNotFoundException: 
> > g_file_new_for_commandline_args
> >
> > Dan
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >   
> 



More information about the Gtk-sharp-list mailing list