[Gtk-sharp-list] Integrating GTK# classes/namespaces into MS
Visual Studio .NET
Tue, 20 Apr 2004 15:07:40 -0400
I had to drop several lib---.dll's into C:\WINNT\system32, and several
*sharp*.dll's into the PublicAssemblies folder before I could compile and
attempt a run.
An error message box popped up with the following title: "GtkButton - Entry
Point Not Found". The detailed error message in the popup was "The
procedure libiconv_set_relocation_prefix could not be located in the
dynamic link library iconv.dll."
iconv.dll is an already existing .NET Framework DLL, and I definitely do
not want to replace it with GTK's thru a dumb drag-n-drop move on my
Here is the source for GtkButton.cs from "Mono Kick Start" by Hans-Jurgens
Schonig & Ewald Geschwinde, page 238.
public class MyButton
public static void Main(string args)
Window win = new Window("My first button");
win.DefaultSize = new Size(200, 200);
Button btn = new Button("Click");
Suggestions? Rick :-(
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = =
Deobald" To: "Ben Maurer" <email@example.com>
<steve@citygro cc: firstname.lastname@example.org, email@example.com
up.ca> Subject: Re: [Gtk-sharp-list] Integrating GTK# classes/namespaces
into MS Visual Studio .NET
Ben Maurer said:
> On Mon, 2004-04-19 at 23:42, firstname.lastname@example.org wrote:
>> 3.) Should I just stick with MS's C# and the MS Visual Studio
>> .NET for learning, and avoid mono like a disease? ;-)
> Well, Visual Studio.NET is a very good way to start off with the .NET
> technologies. However, there is no reason you cant use gtk# at the same
You can use GTK# under the MS runtime just fine. I've found this works
really well on a VS.net machine as it allows you to use VS.net for your
GTK# development (intellisense, etc.) and debugging. You can even grab a
win32 copy of glade and use it for interface design. I've spent a few
hours attempting to make a GTK# interface designer addin for Visual
Studio, but I haven't made much progress - it's not as usable as glade,
but glade works pretty slick. :)
If you have any questions about GTK# under vs.net, send me a message.
There are a few gotchas you might find yourself working around.
This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.