I get the following
error at runtime from the attached code.
ERROR:
Object reference not
set to an instance of an object
I still don't
understand why if I compile the code using VS 2005 and run the program on
windows it works but if I compile with gmcs and run on Linux I get
errors.
usi
Javier Ruiz wrote:
I get the following error at runtime from the attached code.
ERROR:
Object reference not set to an instance of an object
I still don't understand why if I compile the code using VS 2005 and
run the program on windows it works but if I compile with gmcs and run
on Linux I
The error is coming from the SYSTEM.NET.MAIL part of the code.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 11, 2006 12:43 AM
To: Javier Ruiz
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Getting error at Runtime
Javier
Javier Ruiz wrote:
The error is coming from the SYSTEM.NET.MAIL part of the code.
Have your catch code output the stack trace like this:
catch( Exception ex ) {
Console.WriteLine( "Error: " + ex.ToString() );
}
--Brian
___
Mono-devel-list
I tried what you said but I still get the same error.
-Original Message-
From: Brian Crowell [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 9:18 AM
To: Javier Ruiz
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Getting error at Runtime
Javier Ruiz wrote:
>
Javier Ruiz wrote:
The error is coming from the SYSTEM.NET.MAIL part of the code.
Have your catch code output the stack trace like this:
catch( Exception ex ) {
Console.WriteLine( "Error: " + ex.ToString() );
}
--Brian
___
Mono-devel-list