RE: [Mono-list] Windows to Linux Remoting problem

2004-10-12 Thread Zbigniew Babiej
Hi Robert, As per your suggestion, I run the network traffic analyzer and discovered that there were some problems with the DNS on that linux box. After correcting the settings it works OK now. Thank you for your input. I should haved taken that error message literally, but as I new that the

Re: [Mono-list] crash inside mono, what does it mean?

2004-10-12 Thread Ronald S. Bultje
Hi, On Mon, 2004-10-11 at 17:10, Miguel de Icaza wrote: I'm writing an app using GNOME-/Gst-sharp and Mono After setting up a threaded pipeline and setting it to playing, I get this error: ** ERROR **: file mini.c: line 6558 (mono_get_lmf_addr): should not be reached aborting...

[Mono-list] Preprocessor

2004-10-12 Thread Fabien Meghazi
Hi all, Got a simple question and I'm not lucky with google for this. I'm searching the preprocessor directive that allows to replace names before compilation. I know it is possible in C but I don't remember how to, I guess it's not DEFINE. My goal is to do this DIRECTIVE SERVAR

Re: [Mono-list] Preprocessor

2004-10-12 Thread Jonathan Pryor
On Tue, 2004-10-12 at 05:41, Fabien Meghazi wrote: Got a simple question and I'm not lucky with google for this. I'm searching the preprocessor directive that allows to replace names before compilation. I know it is possible in C but I don't remember how to, I guess it's not DEFINE. My goal

[Mono-list] Language Clarification

2004-10-12 Thread David P. Donahue
I realize that Mono focuses its development on C# as a whole, but I'm wondering something about other languages in general. I'm no expert on the core of .NET, but I was under the impression that one of its features is that code from any .NET language, when compiled, becomes a single common

RE: [Mono-list] Language Clarification

2004-10-12 Thread Dan Maltes
Is your Grid sample referencing anything in Microsoft.VisualBasic.dll? I believe VS.NET references this library by default when compiling VB.NET projects. -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David P. Donahue Sent: Tuesday, October 12,

RE: [Mono-list] Language Clarification

2004-10-12 Thread David P. Donahue
Likely. I recall that coming up before in my quest. When you say by default are you implying that there's a way to use other libraries instead? Regards, David P. Donahue [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan

[Mono-list] Visual Studio .NET

2004-10-12 Thread Amrit Kohli
Hello, I am looking to purchase Visual Studio .NET. I am new to the whole .NET framework. When I did a search for Visual Studio, the search engine returned a link to a host of versions of Visual Studio .NET. I am wondering if the package comes with Visual C/C++ as well as C#? Given that

RE: [Mono-list] Language Clarification

2004-10-12 Thread A Rafael D Teixeira
Hi David, There is two things you should know that affect your case: 1) as mentioned, Microsoft.VisualBasic is referenced for basically ANY VB.NET solution, because without it you would not be able to use language features like VB Modules or late-binding (Option Strict Off), also useful things

Re: [Mono-list] Visual Studio .NET

2004-10-12 Thread Juan Cristóbal Olivares
The price of US$ 40 should be Visual C# or something (only C#)...Visual Studio .NET includes C#, VB.NET, JScript and J# All the licenses of VS.NET are per single deevloper. more details @ microsoft :) Juan Cristóbal Olivares www.juancri.com - Original Message - From:

Re: [Mono-list] Visual Studio .NET

2004-10-12 Thread Juan Cristóbal Olivares
If you get a MSDN subcription, you will receive all the software for a year. Juan C. Olivares www.juancri.com - Original Message - From: Gert Kello [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 5:46 PM Subject: Re: [Mono-list] Visual Studio .NET Instead of

[Mono-list] HelloWorld.cs

2004-10-12 Thread Amrit Kohli
I am still learning mono and C#, so forgive me what is probably a very easy question for most of you. I entered the following code from a HelloWorld type of application: // helloworld.cs - Gtk# Tutorial example namespace GtkSharpTutorial { using Gtk; using GtkSharp; using

Re: [Mono-list] HelloWorld.cs

2004-10-12 Thread Nick Loeve
try compiling with: msc -pkg:gtk-sharp helloworld.cs Thats assuming you have GTK# installed On 13/10/2004, at 10:50 AM, Amrit Kohli wrote: x-tad-biggerI am still learning mono and C#, so forgive me what is probably a very easy question for most of you./x-tad-bigger

RE: [Mono-list] HelloWorld.cs

2004-10-12 Thread Amrit Kohli
Nick, I tried this and it appears to have worked. However, Im now left with the following error message: helloworld.cs(7) error CS0246: The namespace `System.Drawing' can not be found ( missing assembly reference?) Try using -r:System.Drawing Compilation failed: 1 error(s), 0

Re: [Mono-list] HelloWorld.cs

2004-10-12 Thread Nick Loeve
Amrit, I am pretty sure you have to reference all assemblies except for System. so try: mcs -pkg:gtk-sharp -r:System.Drawing helloworld.cs On 13/10/2004, at 11:41 AM, Amrit Kohli wrote: x-tad-smallerNick,/x-tad-smaller x-tad-smaller/x-tad-smaller x-tad-smallerI tried this and it appears to

RE: [Mono-list] HelloWorld.cs

2004-10-12 Thread Amrit Kohli
Nick, That did it. Thanks for your help. So, are both GTKSharp and GTK covered by the -pkg:gtk-sharp argument? Is there somewhere I might look for clear documentation of the assemblies included with mono v1.0.2? Thanks, Amrit Amrit Kohli [EMAIL PROTECTED]

Re: [Mono-list] HelloWorld.cs

2004-10-12 Thread Nick Loeve
Sorry... mcs -pkg:gtk-sharp helloworld.cs typing too quickly ;) On 13/10/2004, at 11:33 AM, Nick Loeve wrote: try compiling with: msc -pkg:gtk-sharp helloworld.cs Thats assuming you have GTK# installed On 13/10/2004, at 10:50 AM, Amrit Kohli wrote: x-tad-smallerI am still learning

[Mono-list] using Statement in c# and garbage collection.

2004-10-12 Thread sarvesh
Hi, We know that using statement like the one below would using (MyResource myObject = new MyClass()) { myObject.DoSomething(); } gets translated to, MyClass myObject= new MyClass(); try { myObject.DoSomething(); } finally { // Check for a null resource. if

Re: [Mono-list] using Statement in c# and garbage collection.

2004-10-12 Thread Tom Larsen
On Tue, 2004-10-12 at 22:45, sarvesh wrote: Hi, We know that using statement like the one below would using (MyResource myObject = new MyClass()) { myObject.DoSomething(); } gets translated to, MyClass myObject= new MyClass(); try { myObject.DoSomething(); } finally {

Re: [Mono-list] using Statement in c# and garbage collection.

2004-10-12 Thread Jonathan Gilbert
At 09:15 AM 13/10/2004 +0530, you wrote: Hi, We know that using statement like the one below would using (MyResource myObject = new MyClass()) [snip] gets translated to, MyClass myObject= new MyClass(); try [snip] finally { [snip] } The problem I am having is I