Re: [Mono-dev] Proper way to construct objects with mono_runtime_invoke

2008-08-13 Thread Robert Jordan
Hi, Cameron Villers wrote: Hello all, I'm in the initial stages of embedding Mono into my application. I have a C struct like so (simplified): typedef struct { float origin[3]; const char *name; } gentity_t; I would like to be able to pass a pointer to an object of this

[Mono-dev] Building mono-2 preview 1 on x86_64

2008-08-13 Thread Paul
Hi, While I can build mono on my i386 box, when a colleague tries on his x86_64 box, he is getting a seg fault during the build. I can't reproduce this problem as I don't have an x86_64 box. Can someone cast some light on why there should be a problem? The report back is : System.dll

[Mono-dev] ClientCertificateValidation SSL in MONO

2008-08-13 Thread Dominik
hi, i'm trying to connect with ssl as client but the callback function never invoked and the server do not become any data... do you know why its not working? i'm using SSL3 / TLSv1 On the server side(Authenticate as server works fine but not as client) it seems all must be correct... :(

Re: [Mono-dev] ClientCertificateValidation SSL in MONO

2008-08-13 Thread Petit Eric
I forget the Mono web link, but the new method(who prevent obsoloete warning seem to doesn't work yet, so i use the 1.0 one, in a static class like this : http://monoosc.svn.sourceforge.net/viewvc/monoosc/MonoOSC/MonoOSCFramework/Class/VarGlobal.cs?revision=20view=markup and it work 2008/8/13,

[Mono-dev] Unexpected compiler errors when using as keyword

2008-08-13 Thread Aaron Colwell
Hi, I've been trying to port some C# code to mono and encountered a difference with how gmcs Visual Studio handle the as keyword. The code below is a simple repro case that demonstrates the problem. using System; namespace AsStringProblem { class MainClass { public static void

Re: [Mono-dev] Unexpected compiler errors when using as keyword

2008-08-13 Thread Andreas Nahr
Just as a very short note without looking in detail: IMHO C would always work because even if interpreted as (blah + o) as string it would be a correct statement (though it wouldn't make any sense to cast to string). So the assumption would be that it is just the precedence that is different

[Mono-dev] test email to mono-devel-list@lists.ximian.com

2008-08-13 Thread Miguel de Icaza
___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Unexpected compiler errors when using as keyword

2008-08-13 Thread Marek Safar
Hello Aaron, I've been trying to port some C# code to mono and encountered a difference with how gmcs Visual Studio handle the as keyword. The code below is a simple repro case that demonstrates the problem. using System; namespace AsStringProblem { class MainClass { public

Re: [Mono-dev] Unexpected compiler errors when using as keyword

2008-08-13 Thread Max de Lavenne
Yeah, and maybe mono should issue a best practice compiler warning too... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marek Safar Sent: Wednesday, August 13, 2008 12:00 PM To: Aaron Colwell Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev]

Re: [Mono-dev] Dynamic data and Ado.net Entity set?

2008-08-13 Thread Sharique uddin Ahmed Farooqui
On Wed, Aug 13, 2008 at 7:12 AM, Atsushi Eno [EMAIL PROTECTED] wrote: Hello, Sharique uddin Ahmed Farooqui wrote: Hi, To day MS has released sp1 of .net 3.5. which has Dynamic data, Ado.net Entity set, some improvements in Linq to Sql are the new features . Where did you find some

Re: [Mono-dev] Cross compiled arm-linux

2008-08-13 Thread Jolting
Was using wrong glib header files. guint64 was being defined as long instead of long long. Thanks Jolting wrote: In the do_mono_image_load() this is where the error happens. 846 image-module_name = mono_metadata_string_heap (image, 847

[Mono-dev] Embedding Mono as Script Engine (problem?)

2008-08-13 Thread BaSS
Hi Guys, I’m trying to embed the mono runtime into a test application and then pass “script” code to a class in the assembly which is supposed to compile the script into an assembly and run it (etc etc..). The basics seem to work, I can call methods in the class, show message boxes etc, but

Re: [Mono-dev] [PATCH] System.Security: trivial fixes for XmlDsig transforms

2008-08-13 Thread Sebastien Pouliot
On Sat, 2008-08-09 at 11:04 +0200, Gert Driesen wrote: Hi, The attached patch provides some trivial fixes for XmlDsig transforms in System.Security, and adds/improves unit tests. Let me know if this is ok to commit. No. It seems there's good stuff (like updating the old syntax of unit

Re: [Mono-dev] [PATCH] System.Security: trivial fixes for XmlDsig transforms

2008-08-13 Thread Gert Driesen
Hey Sebastien, I'm remove all unnecessary changes (like the brace position, bad habits ...) and resubmit the patch for review. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sebastien Pouliot Sent: donderdag 14 augustus 2008 2:58 To: Gert Driesen

Re: [Mono-dev] [PATCH] System.Security: trivial fixes for XmlDsig transforms

2008-08-13 Thread Gert Driesen
Index: Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs === --- Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs (revision 110022) +++

[Mono-dev] Question about JIT performance

2008-08-13 Thread Bojan Rajkovic
I've been doing some playing around and have written some code for mathematical operations. Among those operations is something called a box approximation for the integral of a function ( http://en.wikipedia.org/wiki/Rectangle_Rule ). At the behest of mhutch in #mono, I tried a few things to