<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Mathias Tausig escribi&oacute;:
<blockquote cite="mid:64059.195.64.3.50.1207144893.squirrel@fsmat.at"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">Hi:
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">On Wed, Apr 2, 2008 at 6:27 AM, Mathias Tausig <a class="moz-txt-link-rfc2396E" href="mailto:mtausig@fsmat.at">&lt;mtausig@fsmat.at&gt;</a>
wrote:

        </pre>
        <blockquote type="cite">
          <pre wrap="">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?

          </pre>
        </blockquote>
        <pre wrap="">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.

        </pre>
      </blockquote>
      <pre wrap="">I just used the term "statical linking", since that's what I would do if
it where an ordinary C program, if bundling works too, that's fine with
me.
But since this is  going to be my first mono project, I have to ask some
more stupid questions:
What exactly do you mean by "bundling" Simply having the neccesary dll
in
te same dir as the exe, or somehow linking it? If the latter, how can I
achieve that (commandline, monodevelop).

      </pre>
    </blockquote>
    <pre wrap="">I am working with ruby-gnome for windows, and i do this. I believe you
only need copy all mono files and create a bat file to exec your software.

    </pre>
  </blockquote>
</blockquote>
<br>
<pre wrap="">Just tried it, doesn't work. After he found all the correct assembly-dll's
he complains about not finding the libgtk-win32.dll.</pre>
<blockquote cite="mid:64059.195.64.3.50.1207144893.squirrel@fsmat.at"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">
    </pre>
  </blockquote>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">Hopefully there will come a time when we can assume that GTK# is
present on windows ;-)

        </pre>
      </blockquote>
      <pre wrap="">While there's life, there's hope :-)

Thank you for your insight.

      </pre>
    </blockquote>
    <pre wrap="">Apple support GTK for mac os in a native way.
    </pre>
    <blockquote type="cite">
      <pre wrap="">cheers
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<pre wrap="">Well, but Apple is just stolen Linux ...

cheers
Mathias</pre>
<blockquote cite="mid:64059.195.64.3.50.1207144893.squirrel@fsmat.at"
 type="cite">
  <pre wrap="">
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">mathias


      </pre>
    </blockquote>
    <pre wrap="">Regards.



    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
<br>
</body>
</html>