Mono 0.30 has been released..
Mono 0.30 Released
Submitted by anon 2004-02-03 Mono 18 Comments
Incredible screenshots! I WANT that media player, even though I don’t run GNOME!
Yep.. I am sold on that too.. might give it a go
I’d like to see some screenshots and more information on the Windows.Forms that uses Gtk# as a backend. I’ve heard about it briefly in postings and wiki, but can’t seem to find more info on it.
Does the programs compiled for Mono (using gtk#) run in Windows using .NET frameworks?
No. GTK# uses the gtk toolkit and so these won’t compile “as is” with microsoft’s .NET. However, there is a port of GTK# for windows, and so if you write your app for it, you can then compile it for windows using mono and gtk# for Windows (but not MS’ .NET).
Get the third download if you are new into mono for windows:…
An application that uses Gtk# and compiled under Microsoft’s .NET framework will in most circumstances run without recompiling under Mono/Linux (provided you avoid Microsoft specifics, like S.W.F and the Microsoft.* namespace). However, you will still need a copy of GTK+ and GTK# installed on the target.
Applications compiled by Mono will more than likely run under MS.NET unless you use something Linux specific.
Here it is: “Hello World” on Windows XP using Mono instead of .NET. My first gtk# for Windows:
Here it is: “Hello World” on Windows XP using Mono instead of .NET. My first gtk# for Windows:
Yes it does, I just tried running the same HelloWorld binary I built on Windows on my Slackware.
..doesn’t work on my system
Here’s the output from the compiler:
C:>mcs hello.cs -r gtk-sharp.dll -r glib-sharp.dll
hello.cs(21) error CS0120: An object reference is required for the non-static field `Add’
hello.cs(22) error CS0120: An object reference is required for the non-static field `ShowAll’
Compilation failed: 2 error(s), 0 warnings
Any ideas?
the fedora packages miss libicu26!
MiniMe, i assume you’ve typed the variable name incorrectly:
Window.Add(btn);
Window.ShowAll();
should be
window.Add(btn);
window.ShowAll();
Case is very important!
that helped
Sorry, I installed it with the available packages!
*sigh*
That screenshot could be made in QuickBasic even. Screenshots don’t tell you anything about a language, but rather about some application made in it.
If you knew a lot about languages, you’d probably be very excited about C# and mono regardless of *screenshots*. Especially C# 2.0, which doesn’t have ECMA yet unfortunately.
But C# 2.0 brings Generics (c++ templates) and anonymous functions (lambda functions). Also, it supposedly has some new iterator stuff which is much better than C# 1.0 enumeration. This should provide for some really interesting generic programming languages similar to the C++ but probably more powerfull. For instance, the C++ STL foreach algorithm is no where near as handy as it could be due to the fact that you have to define a new function each time you use it. Anonymous functions would let you write something like
foreach( list.begin(), list.end(), cout << (*i + *i) );
Currently, in C++ there is a lambda function library that sort of lets you do anonymous functions like the above, but for more complex functions it does have overhead that grows the more complex the function is. C#’s implmentation, being native, would not have this performance overhead or the libraries other short comings (such as usefull debug output).
This just touches the surface of why C# is cool though. I can’t wait for mono to mature and become avaliable for platforms other than Windows and Linux (neither of which I care much about for my work).
above comment by me
msvcr70.dll is missing in windows version or MONO 0.30
It works fine then.