mail-archives/gtk-sharp-list/2004-February/003403.html

124 строки
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] ok you got me, I'm lost!
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:jonpryor%40vt.edu">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="003402.html">
<LINK REL="Next" HREF="003405.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] ok you got me, I'm lost!
</H1>
<B>Jonathan Pryor
</B>
<A HREF="mailto:jonpryor%40vt.edu"
TITLE="[Gtk-sharp-list] ok you got me, I'm lost!">jonpryor@vt.edu
</A><BR>
<I>Tue, 17 Feb 2004 07:23:04 -0500</I>
<P><UL>
<LI> Previous message: <A HREF="003402.html">[Gtk-sharp-list] ok you got me, I'm lost!
</A></li>
<LI> Next message: <A HREF="003405.html">[Gtk-sharp-list] ok you got me, I'm lost!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3403">[ date ]</a>
<a href="thread.html#3403">[ thread ]</a>
<a href="subject.html#3403">[ subject ]</a>
<a href="author.html#3403">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Below...
On Tue, 2004-02-17 at 04:05, Nick Van Eeckhout wrote:
&gt;<i> I messed a bit around with sqlsharp.exe (on win) and the program would
</I>&gt;<i> run if i copied it to the bin dir with all the necessary dll's but not
</I>&gt;<i> out of that directory.
</I>&gt;<i> So it makes me think that this has something to do with the fact that
</I>&gt;<i> the mono GAC is not yet finished. You can put .net dll's in the Global
</I>&gt;<i> Assembly Cache so they come widely available. I don't know if this
</I>&gt;<i> affects other dll's like GTK+.
</I>
It has less to do with Mono's GAC not being finished, and more to do
with the Gtk# DLLs not being Shared Assemblies (meaning, they're not
signed, don't have a public key, and thus couldn't be placed in the GAC
even if Mono had one).
I'm not sure when this will be fixed (hopefully before Mono's GAC is
complete, so we can have a test case ;-), but for the time being,
they're private assemblies, and thus *must* be in the same directory as
the executable.
&lt;snip/&gt;
&gt;<i> I have gtk# installed but I can't get it to work. Seems it wants some
</I>&gt;<i> gtk+ files and even though I have the dll's it can't use them, hell I
</I>&gt;<i> can't
</I>&gt;<i> even register them using regsvr32.
</I>
`regsvr32' is used to register COM DLLs (DLLs with a DllRegisterServer()
export, among others), which doesn't describe GTK+ or Gtk#. So it's
perfectly sensible that regsvr32 wouldn't do anything. :-)
&gt;<i> I've read all the docs I could find, I've search google and the lack
</I>&gt;<i> of material on exactly how to go about using gtk# is a little
</I>&gt;<i> worrying! Is this project well supported and is development moving
</I>&gt;<i> forward? I tried looking at the gtk+ website and I'm not sure what the
</I>&gt;<i> hell I'm looking at.
</I>
Gtk# is a managed wrapper over GTK+. Thus, you need GTK+ installed and
working, and the GTK+ libraries either need to be (1) in the same
directory as your application, or (2) in the PATH, or (3) installed in a
well-known location, like %WINDIR%\system32.
It's been awhile since I've done anything with Windows, though, so
hopefully someone else can elaborate.
You can find a GTK+ for Windows install here, as part of the Gimp:
<A HREF="http://www.gimp.org/~tml/gimp/win32/downloads.html">http://www.gimp.org/~tml/gimp/win32/downloads.html</A>
- Jon
&gt;<i> I don't want to compile gtk+ on my machine because I need a deployment
</I>&gt;<i> path for this new application.
</I>&gt;<i>
</I>&gt;<i> Many of you work very hard towards mono and a free net but there must
</I>&gt;<i> be an easier path for x-windows developers to follow otherwise all
</I>&gt;<i> your newbies are going to stay away.
</I>&gt;<i>
</I>&gt;<i> thanks - sorry for the rant ;)
</I>&gt;<i>
</I>&gt;<i> Craig
</I>&gt;<i>
</I>&gt;<i> [quote]
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Gtk-sharp-list maillist - <A HREF="mailto:Gtk-sharp-list@lists.ximian.com">Gtk-sharp-list@lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="003402.html">[Gtk-sharp-list] ok you got me, I'm lost!
</A></li>
<LI> Next message: <A HREF="003405.html">[Gtk-sharp-list] ok you got me, I'm lost!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3403">[ date ]</a>
<a href="thread.html#3403">[ thread ]</a>
<a href="subject.html#3403">[ subject ]</a>
<a href="author.html#3403">[ author ]</a>
</LI>
</UL>
</body></html>