[Mono-dev] NullReferenceException when trying to use socket with embedded mono2
Mrak
konstantink at epsystems.lt
Fri Oct 10 06:01:37 EDT 2008
Hello,
Thanks alot Bill!!! That really solved the problem!
Bill Holmes wrote:
>
> Hi,
>
> We had the same problem. To work around this problem call
> mono_jit_exec on a Main in an exe. Then proceed with calling your
> methods as usual.
>
> Specifically what we had to do was change the type of the assembly
> being called to an executable and add a Main that does nothing. Then
> we obtained and called the Main method (with mono_jit_exec) before
> calling the real methods.
>
> -bill
>
>
--
View this message in context: http://www.nabble.com/NullReferenceException-when-trying-to-use-socket-with-embedded-mono2-tp19873451p19915412.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list