[Mono-list] Newbie needs help compiling

2005-08-04 Thread Alireza Ghasemi
Hello, I'm a newbie in .NET and I just want to compile Blam! . But I don't know where to begin.Could anybody help me step by step to make an executable of Blam! Source code. I have Mono 1.1.8 for Windows installed on my WinXP Pro . ___ Mono-list ma

[Mono-list] Problem with Events

2005-08-04 Thread mono-list . 1 . tracyanne
Can anyone see anything wrong with this code. It looks to me to be correct syntax for defining and raising an event. It compiles without error, but when I run it I get the following error message Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an obj

Re: [Mono-list] Problem with Events

2005-08-04 Thread Jackson Harper
On Thu, 2005-08-04 at 17:30 +1000, [EMAIL PROTECTED] wrote: > Can anyone see anything wrong with this code. It looks to me to be > correct syntax for defining and raising an event. It compiles without > error, but when I run it I get the following error message Nothing is ever subscribing to your

Re: [Mono-list] mcs precise location patch is now in svn.

2005-08-04 Thread Ben Motmans
On 8/2/05, Atsushi Eno <[EMAIL PROTECTED]> wrote: > Hello, > > My precise location patch for mcs (to report line/column, where it > used to report incorrect locations) is now checked in svn. > > If any of you found such case that mcs does not report error location, > please file a bug and/or repo

Re: [Mono-list] ByteFX remote clients

2005-08-04 Thread Tom Larsen
Unfortunately there could be any number of reasons why "the other machine" is not reachable. Without more information there is little I can suggest. I would try making a very simple program that just does a simple select on a table and work through the software configuration on both machines unti

[Mono-list] Add/Remove users

2005-08-04 Thread Arx Henrique
Is possible create/remove/edit linux users with mono? -- "A fé remove montanas, mas eu prefiro a dinamite" ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Mono, Win32 fibers. Almost there...

2005-08-04 Thread Paolo Molaro
On 08/03/05 Bruce Wilkie wrote: > One final question in hopes someone has an idea. I've > gotten fibers to work with both the JIT and Interp Nice. You can ignore the interp, since we don't maintain it anymore. > engines. However, I'm having problems with garbage > collection. That is, objects

[Mono-list] Sqlite version

2005-08-04 Thread Julien Sobrier
Hello, do you know what Sqlite version is handled by Mono.Data.SqliteClient.dll in Mono 1.1.6: 1, 2 or 3? Thank you Julien ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Mono linux question

2005-08-04 Thread Paul F. Johnson
Hi, > > Altough /clr:pure generates 100% pure valid IL code, it will add CRT DLL > > references using P/Invoke that will not run under Mono because Mono hasn't > [...] > > It would be good if you created a nice page on the wiki with all > the relevant info, so we can point people to it: managed c

Re: [Mono-list] mcs precise location patch is now in svn.

2005-08-04 Thread Atsushi Eno
Hi, > using mcs r47994, > if the column is > 255, it starts counting from 0 again > > if you compile the attached file 'Test3.cs', you get the message > Test3.cs(6,13): warning CS0168: The variable `a' is declared but never used > while the location should be (6,255+) > > it only shows '255+' wh

Re: [Mono-list] mcs precise location patch is now in svn.

2005-08-04 Thread Atsushi Eno
Hi, > using mcs r47994, > if the column is > 255, it starts counting from 0 again > > if you compile the attached file 'Test3.cs', you get the message > Test3.cs(6,13): warning CS0168: The variable `a' is declared but never used > while the location should be (6,255+) > > it only shows '255+' wh

[Mono-list] RE: System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion .cs

2005-08-04 Thread cliff
I think I figured it out. For some reason, the latest mono archive doesn't fully restore using 7zip (I downloaded it again to verify), although it 'tests' fine. Also, the file mentioned below is in CVS (I was looking in wrong folder). Cliff -- > Hello, > I get the following error when tryi

[Mono-list] Npgsql error

2005-08-04 Thread Fabian Salamanca Dominguez
Hi I tried to compile a simple C# program and access a Postgresql DB but I got this error in runtime (it compiled with no errors) : [EMAIL PROTECTED] Mono]$ mcs dbaccess.cs  -r:Npgsql.dll -r:System.Data.dll [EMAIL PROTECTED] Mono]$ mono dbaccess.exe Unhandled Exception: System.InvalidCastExcepti

Re: [Mono-list] Mono linux question

2005-08-04 Thread Paolo Molaro
On 08/03/05 Kornél Pál wrote: > Altough /clr:pure generates 100% pure valid IL code, it will add CRT DLL > references using P/Invoke that will not run under Mono because Mono hasn't [...] It would be good if you created a nice page on the wiki with all the relevant info, so we can point people to

Re: [Mono-list] Npgsql error

2005-08-04 Thread Emil Emilov
Check the lines: string operatingsystem = (string) reader["operatingsystem"]; string nodeid = (string) reader["nodeid"]; What happens of the results are NULL? You should check for NULL first. Then, are you sure that operatingsystem and nodeid are varchars or some other type that translate into

Re: [Mono-list] Npgsql error

2005-08-04 Thread Emil Emilov
Also another tip: you don't need to explicitly set connection etc. to null. Cosider following improvement: IDbConnection dbcon; IDbCommand dbcmd; IDataReader reader; try { dbcon = new NpgsqlConnection(connectionString); dbcon.Open(); dbcmd = dbcon.CreateCommand(); string sql = "SELECT oper

[Mono-list] Problems running monodevelop (svn) and muine (svn)

2005-08-04 Thread Pieter Baele
Everything builds fine. I am using latest mono (1.1.8.2) in gentoo and gtk-sharp 2.5.5 Apps running fine: latest f-spot and tomboy Can someone figure this out? Trying to start monodevelop: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer

Re: [Mono-list] Npgsql error

2005-08-04 Thread Jaroslaw Kowalski
Hi Emil, Also another tip: you don't need to explicitly set connection etc. to null. Cosider following improvement: IDbConnection dbcon; IDbCommand dbcmd; IDataReader reader; try { ... } finally { // cleanup, even if error occurs, closing the reader is important because while it is open no

Re: [Mono-list] Npgsql error

2005-08-04 Thread Emil Emilov
Cool, a question on that: What happens if a exception occurs? I meand close() gets called at the end of the using block, but does it get also called when an exception occurs (sort of finally)? If yes, I'm changing my programming style :) Another question, how would it look like if you had to catc

[Mono-list] Re: Mono-list Digest, Vol 4, Issue 5 sender for your account)

2005-08-04 Thread mono-list . 1 . tracyanne
I realised what I was doing wrong. I didn't have the test for null "if (InputError != null)" in my original code, and as I wasn't at the time subscribing to the event, it was naturally going to error out. By the way the code I sent in is pretty much what you'll find on page 309 (Chapter 6 Advanced

[Mono-list] Datawindows

2005-08-04 Thread (Aesux)
Hi, Perhaps anyone know about the Sybase RAD PowerBuilder, isn't it? Then sure you know about the functionality and power of its Datawindow Control. My question was if there is anything similar usable yet under mono or any other GPL development platform, or free at least. Any control or wid

[Mono-list] Gnome and Kde and how the mono project works with them .......

2005-08-04 Thread ted leslie
I have just recently run in to a gtk-sharp issue on a kde desktop. Went to gnome on the same machine, and all is fine. It just got me thinking .. I don't really have a preference to either desk top, i just have been running KDE for years and years because it probably came up stock on an old distro

Re: [Mono-list] Gnome and Kde and how the mono project works with them .......

2005-08-04 Thread Harry Holt
Gee, tl, are you sure you want your clients to go through all that re-training and dealing with the (temporary) productivity loss while everyone gets acclimated to the new desktop? Not to mention all the documentation issues, lots of new configuration file changes, etc., that you'll need to deal w

Re: [Mono-list] Gnome and Kde and how the mono project works with them .......

2005-08-04 Thread Jonathan Pryor
On Thu, 2005-08-04 at 22:00 -0400, ted leslie wrote: > I have just recently run in to a gtk-sharp issue on > a kde desktop. Went to gnome on the same machine, and all is fine. It would be useful to know what the issue is. The goal is to allow desktop-agnostic applications, by using freedesktop.or

Re: [Mono-list] Npgsql error

2005-08-04 Thread Jaroslaw Kowalski
Cool, a question on that: What happens if a exception occurs? I meand close() gets called at the end of the using block, but does it get also called when an exception occurs (sort of finally)? If yes, I'm changing my programming style :) Another question, how would it look like if you had to cat

[Mono-list] Datawindows

2005-08-04 Thread mono-list . 1 . tracyanne
I've been Working on a Data Bound DataGrid that is based on Gtk# Widgets (Scrolled Window, TreeView, ListStore, Cellrenderer). It uses the WinForms DataGrid paradigm for for consuming Data providers, it's a work in progress (although it is sufficiently useful for my needs as it is). You are welcome

Re: [Mono-list] Sqlite version

2005-08-04 Thread Julien Sobrier
Chris Turchin a écrit : It works with 2.8.16 and 3.1.3 at any rate. I have tested both. Regards, --chris With what version of Mono? I've tried Sqlite 3.0.8 and Mono.Data.SqliteClient doesn't recognize the database format. Thank you Julien ___ Mo

Re: [Mono-list] Sqlite version

2005-08-04 Thread Thomas Zoechling
You have to specify the Version in the Connectionstring: string connectionString = "Version=3,URI=file:SqliteTest.db"; Julien Sobrier wrote: Chris Turchin a écrit : It works with 2.8.16 and 3.1.3 at any rate. I have tested both. Regards, --chris With what version of Mono? I've trie