[Gtk-sharp-list] Crossplatform gtk# app

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Apr 2 09:25:06 EDT 2008


On Wed, Apr 2, 2008 at 6:27 AM, Mathias Tausig <mtausig at fsmat.at> wrote:
> Hy!
>
>  I would like to develop a crossplatform (that is linux and windows)
>  application which uses gtk# using mono. Is there some way of sparing the
>  windows users the hassle of installing the gtk# assemblies by somehow
>  "statically linking" the neccesary assemblies into my application?

Hi,

If you just needed the GTK# assemblies, you could either bundle the
dlls with your app, or if you really want, statically link them with
the Mono link.

Unfortunately it's not that simple, as you need GTK+ and various
unmanaged glue libraries too. You could bundle these with your app
too, but it would make more sense just to invoke the GTK# installer
from your program's installer.

Hopefully there will come a time when we can assume that GTK# is
present on windows ;-)

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Gtk-sharp-list mailing list