Re: [Mono-docs-list] integrate monodevelop with Npgsql.dll

2006-08-08 Thread latency
Hi, first you need to create a Project using Monodevlop. After new Assemblies can be added at the References of the project. Just do a right-click on the References Entry in the Tree under the Solution Tab. The new window allows you to add the Reference you need to run your app. Kind Regards,

Re: [Mono-dev] The beta version of ADO.NET provider for MaxDB database

2006-08-08 Thread Nagappan
Hi Dmitry, Can you please file a bug on the second issue ? Regarding the third one, if you are using the appropriate conversion classes both reading and writing, hope there should not be any issue. Thanks Nagappan Dmitry Key wrote: Hi, Nagappan 1. The preview version of ADO.NET will be

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Gert Driesen
-Original Message- From: [EMAIL PROTECTED] [mailto:mono-devel-list- [EMAIL PROTECTED] On Behalf Of Atsushi Eno Sent: maandag 7 augustus 2006 3:58 To: mono-devel-list@lists.ximian.com Subject: [Mono-dev] local file based EventLog implementation Hi, During a consultation with a

[Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Ympostor
Hello. I have done a small proof of concept of Remoting and found out that it works as a connection-made-by-demand. I thought that the MarshalRefByObj worked using always the same connection. Is there a way to use only a connection (with a somewhat keep-alive behaviour) between the client and

Re: [Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Ympostor
Ympostor wrote: Hello. I have done a small proof of concept of Remoting and found out that it works as a connection-made-by-demand. I thought that the MarshalRefByObj worked using always the same connection. Is there a way to use only a connection (with a somewhat keep-alive

Re: [Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Robert Jordan
Ympostor wrote: Ympostor wrote: Hello. I have done a small proof of concept of Remoting and found out that it works as a connection-made-by-demand. I thought that the MarshalRefByObj worked using always the same connection. Is there a way to use only a connection (with a somewhat

Re: [Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Brian Crowell
Ympostor wrote: Is there a way to use only a connection (with a somewhat keep-alive behaviour) between the client and the server so as to allow to bypass any firewalls (that prevent incoming connections, like NAT) that may affect the client?

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Atsushi Eno
Hi Gert, Thanks for the comments. Gert Driesen wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:mono-devel-list- [EMAIL PROTECTED] On Behalf Of Atsushi Eno Sent: maandag 7 augustus 2006 3:58 To: mono-devel-list@lists.ximian.com Subject: [Mono-dev] local file based

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Kornél Pál
Hi, There is an event logging API on Windows and in fact it's better to use it than writing events directly to the registry: http://windowssdk.msdn.microsoft.com/en-us/library/ms684073.aspx Note that there is another topic in this documentation tree called Windows Event Log that requires

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Gert Driesen
-Original Message- From: [EMAIL PROTECTED] [mailto:mono-devel-list- [EMAIL PROTECTED] On Behalf Of Kornél Pál Sent: dinsdag 8 augustus 2006 20:03 To: Atsushi Eno; Gert Driesen Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] local file based EventLog implementation

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Gert Driesen
-Original Message- From: [EMAIL PROTECTED] [mailto:mono-devel-list- [EMAIL PROTECTED] On Behalf Of Atsushi Eno Sent: dinsdag 8 augustus 2006 19:47 To: Gert Driesen Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] local file based EventLog implementation Hi Gert,

Re: [Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Ympostor
Thanks for the info Robert! I continue inline... Robert Jordan wrote: Ympostor wrote: Ympostor wrote: Hello. I have done a small proof of concept of Remoting and found out that it works as a connection-made-by-demand. I thought that the MarshalRefByObj worked using always the same

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Kornél Pál
You are right, events are not stored in registry: http://support.microsoft.com/kb/315417/ And the source has to be added using registry API: http://windowssdk.msdn.microsoft.com/en-us/library/ms684029.aspx http://windowssdk.msdn.microsoft.com/en-us/library/ms684083.aspx And there is another

Re: [Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Robert Jordan
Hey, Ympostor wrote: However, in case you're interested, now I am investigating this one (which I haven't managed to make it work yet but I suspect the reason is that I am running it with 2.0 Framework and I should use 1.1 or update the sources...): The MS.NET 2.0 remoting stack is pretty

Re: [Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Ympostor
Brian Crowell wrote: Ympostor wrote: Is there a way to use only a connection (with a somewhat keep-alive behaviour) between the client and the server so as to allow to bypass any firewalls (that prevent incoming connections, like NAT) that may affect the client?

Re: [Mono-dev] Keep-alive connection with Remoting?

2006-08-08 Thread Brian Crowell
Ympostor wrote: Are you referring to any of the tecniques that are being used by the solutions that Robert and I have mentioned? Yes, they look like they do pretty much what I said. I don't want to deal with Sockets. I am trying to use Remoting so as to avoid the implementation of the

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Atsushi Eno
Hello, I'm not sure if it's really necessary to have a separate EventLogFactory abstraction, we could use a similar approach to the one used for the Registry API; meaning, define an interface and implementations of that interface and have EventLog pick the implementation for doing all the

Re: [Mono-dev] local file based EventLog implementation

2006-08-08 Thread Atsushi Eno
Hello, Kornél Pál wrote: You are right, events are not stored in registry: http://support.microsoft.com/kb/315417/ And the source has to be added using registry API: http://windowssdk.msdn.microsoft.com/en-us/library/ms684029.aspx

[Mono-dev] resgen2 does not convert .resources to .resx file

2006-08-08 Thread Justin Dearing
I was using resgen2 to convert a StringBuilder.resources from the SharpDevelop sources to a resx file. It failed as illustrated below: C:\Program Files\SharpDevelop\2.0\data\templates\project\CSharpresgen2 DefaultResources.resources DefaultResources.resx Error: Object reference not set to an

[Mono-list] Added dll to gac not being picked up

2006-08-08 Thread PFJ
Hi, I've rewritten the spec file for db4o to now add the db4o.dll to gac (I can't add db4o-tools.dll as it's not a strong name). I've used the following for the gacutil line gacutil -i dll/db4o.dll -f -package db4o -root %{buildroot}%{monodir} This adds the dll to (what becomes) /usr/lib When

Re: [Mono-list] (no subject) (Robert Jordan)

2006-08-08 Thread David Abrames
David Abrames wrote: I have the following structure in Windows: typedef struct { BYTE FAR *myBtyeArray; } MYSTRUCTURE; In .NET this structure is defined like this: [StructLayout(LayoutKind.Sequential, Size = 4, Pack = 1)] public class MYSTRUCTURE { public byte[] myByteArray;

Re: [Mono-list] Added dll to gac not being picked up

2006-08-08 Thread Jonathan Pryor
On Tue, 2006-08-08 at 12:11 +0100, PFJ wrote: I've rewritten the spec file for db4o to now add the db4o.dll to gac snip/ The problem comes when I try to link to db4o. All I get back is that the db4o assembly cannot be found. I'm using mcs db4oexample.cs -r:db4o.dll (I've also tried Db4o.dll

[Mono-list] Problems with DateTime (maybe a bug)

2006-08-08 Thread Arx Henrique
Hello all, I have a webservice running in my machine who accessa a database and return one date. When i get data from test form, i get this value (from database): 1984-08-08T10:35:15.9147790-02:00 as DateTime then i assign to a variable with: DateTime birth = (DateTime) row[table_in_database]

Re: [Mono-list] Problems with DateTime (maybe a bug)

2006-08-08 Thread Kornél Pál
Hi, 1984-08-08T10:35:15.9147790-02:00 contains time zone as well so 07/08/1984 can be the same date in a different time zone. You should have a deeper look at the issue because there is a database involved as well so it's quite difficult to tract the problem without access to the database.

Re: [Mono-list] Mono suite?!

2006-08-08 Thread smurfd
Cool. Well it was just something i thought about, and figured i'd share... and yeah, its probably like you say. More appliable on windows. Anyways, thanks for the answer./N On 7/13/06, Terry L. Triplett [EMAIL PROTECTED] wrote: Interesting idea, but not necessarily in the way you meant it. The

Re: [Mono-list] mono and databinding

2006-08-08 Thread Jeroen de Zwart
Miguel,Thanks for you quick response, I'll dig into it and try to contact Matjaz.If anyone else can give me some tips about gtk and databinding please post your experiences.Jeroen On 8/7/06, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, My Question: Should I implement my own bindings, if so how