[Mono-list] Evolution-Sharp

Timothy Parez timothy at saneprojects.be
Mon Mar 26 10:12:59 EDT 2007


Hi,

I've been trying to use evolution-sharp, but I cannot find documentation
or the source code, I looked in the gnome cvs but all I could find where
files like Book.custom and so on.

My problem is the following:

Console.WriteLine("Application Init");
Application.Init ();
			
Console.WriteLine("Getting the system address book");
Book dbk = Book.NewSystemAddressbook();
			         
Console.WriteLine("Opening the system address book");
dbk.Open(true);

Console.WriteLine("Creating a new contact");
Evolution.Contact c = new Evolution.Contact();
c.FullName = "Timothy Parez 3";
					
Console.WriteLine("Adding the new contact");
dbk.AddContact(c);

Console.Write("Done...");
Console.ReadLine();

Application.Run ();

When this code is executed, the contact is actually added to evolution
emmediatly, but the code hangs at dbk.AddContact(c), it doesn't move
beyond that, sometimes it does after an hour or so.

Who can help me with this?

Timothy.




More information about the Mono-list mailing list