Re: [Mono-dev] Embedding w/ Config Errors | No Entry Assembly

2009-09-08 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Jordan wrote: Add an entry point to your assembly: class EntryPoint { static void Main () {} } Then compile the assembly with /target:exe (you can rename it to .dll after the compilation). Then call mono_jit_exec () somewhere after

[Mono-dev] Embedding w/ Config Errors | No Entry Assembly

2009-09-05 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, As some might have picked up I'm embedding Mono into a project and all is mostly going well. While trying to tie together .NET objects with GObject's via compiled MonoMethod thunks I hit a snag. System.TypeInitializationException: An exception

Re: [Mono-dev] Embedding + GObject Subclasses

2009-09-03 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Hoff wrote: Suppose I had the following class: class Foo : Gtk.Box { public new int Spacing { Console.WriteLine(HI); return base.Spacing; } } which is compiled into Foo.dll. Is there a way from within a native

[Mono-dev] Embedding + GObject Subclasses

2009-09-02 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Suppose I had the following class: class Foo : Gtk.Box { public new int Spacing { Console.WriteLine(HI); return base.Spacing; } } which is compiled into Foo.dll. Is there a way from within a native application to instantiate Foo

[Mono-dev] Embedding | mono_array_* methods

2009-08-28 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm trying to figure out if there's a way to work with ListString like there is String[]. mono_array_length reports the correct amount for both types, but mono_array_get(array, type, index) only works for String[]. Clearly I can call more .NET

Re: [Mono-dev] Embedding | mono_array_* methods

2009-08-28 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Jordan wrote: mono_array_length reports the correct amount for both types, but mono_array_get(array, type, index) only works for String[]. Clearly I This works by coincidence only, so do not rely on this! can call more .NET methods, but

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-11 Thread Matthew Metnetsky
128487) +++ Test/System.Reflection/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2009-03-03 Matthew Metnetsky matt...@cowarthill.com + + * BinderTests.cs: added tests for TargetParameterCountException + * BinderTests.cs: added tests for BindingFlags.ExactBinding + 2009-02-21 Jb Evain jbev

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-03 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel de Icaza wrote: Hello, This patch would require both a ChangeLog entry as well as updated NUnit test cases to go with it, exposing the intended behavior and the buggy behavior. Absolutely. It's a change in behavior which will

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-03 Thread Matthew Metnetsky
128487) +++ Test/System.Reflection/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2009-03-03 Matthew Metnetsky matt...@cowarthill.com + + * BinderTests.cs: added tests for TargetParameterCountException + * BinderTests.cs: added tests for BindingFlags.ExactBinding + 2009-02-21 Jb Evain jbev

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-02 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gonzalo Paniagua Javier wrote: On Fri, 2009-02-27 at 09:50 -0500, Matthew Metnetsky wrote: I was migrating some code from Mono 1.x to .NET 3.5 and came across a very small bug. I was calling MonoMethod.Invoke like so: MethodInfo method

[Mono-dev] [PATCH] MonoMethod.cs

2009-02-27 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, I was migrating some code from Mono 1.x to .NET 3.5 and came across a very small bug. I was calling MonoMethod.Invoke like so: MethodInfo method = type.GetMethod(Foo); // Foo(int i, string name); method.Invoke(obj,

[Mono-dev] Donating a SCGI Implementation

2008-02-15 Thread Matthew Metnetsky
To whom it may concern, After rummaging through most of the XSP code I have pulled together a SCGI back-end and was wondering if I could contribute it back to the community. Assuming there is any interest, who should I speak with? Thanks! ~ Matthew

[Mono-devel-list] Embedding Mono

2005-03-23 Thread Matthew Metnetsky
What are the potential benefits and uses of embedding Mono in a language like C? ~ Matthew ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list