[Mono-osx] ServicePointManager using 2.0

Duane Wandless duane at wandless.net
Mon Oct 27 11:55:00 EDT 2008


"Random assembly"?  What are you referring to?  There is nothing random.

In 1.9 mono I had a working program loading a DLL from an ObjC embedded
envrionment.  In 2.0 this broke.  I traced the issue to
ConfigurationManager.cs.   When invoked from an embedded DLL the required
configuration values are not being set.  A lot of changes happened in and
around this file between 1.9 and 2.0.  One of those changes broke the
ability for a DLL to be setup correctly from an embedded environment.

If you can provide an example of a DLL being invoked from an ObjC embedded
environment and having it initialize correctly then I'd happily switch back
to a DLL.  As it is I must workaround the issue by compiling my C# code into
an EXE.

On Mon, Oct 27, 2008 at 11:11 AM, Paolo Molaro <lupus at ximian.com> wrote:

> On 10/24/08 Duane Wandless wrote:
> > Thanks for the reply.  I did call mono_jit_exec.  But I'm using a DLL ...
> > not an executable.  I get a message back after calling mono_jit_exec on
> my
> > DLL:
> > doesn't have an entry point
> >
> > And it fails as described in my first posts.  Now maybe the entry point
> is a
> > different signature for the DLL.  I did not pursue this since it is not
> > required that my C# code be in a DLL.  So I changed to an EXE and call
> > mono_jit_exec which allows my C# code to work as expected.
>
> Sure, mono_jit_exec() needs an assembly with an entrypoint to execute,
> if you throw it a random assembly how do you expect it to work?
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20081027/d490a893/attachment.html 


More information about the Mono-osx mailing list