>>> Felipe Almeida Lessa <[EMAIL PROTECTED]> 11/18/05 1:44 AM >>>
2005/11/17, Mike Kestner <[EMAIL PROTECTED]>:

> Are you doing a Gtk.Application.Init?  That seems to be all that
> sample/TestVfs does.

Iam doing a standalone executable which needs to read/write to remote
shares.

> AFAIK, you should do:
>
>     Gnome.Vfs.Vfs.Initialize();
>
> on the beginning of your application and:
>
>     Gnome.Vfs.Vfs.Shutdown();
>
> in the end. Note that the first "Vfs" is the namespace, while the
> second is the Class.

That works. Thanks a lot. I still have one doubt. When I call
Gnome.Vfs.Vfs.Shutdown, Is only my application affected or is the effect
global? What I mean to say is that if there are 2 programs using
Gnome.Vfs and one of the calls Vfs.Shutdown while the other is stil
executing, will the second program be adversly affected?  I think not,
but wanted to confirm nevertheless.

Many thanks,
Roshan
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to