[Mono-devel-list] Sample of remoting with PInvoke
Lluis Sanchez
lluis at ideary.com
Mon Apr 21 05:46:30 EDT 2003
Hi,
Info.cs seems corrupted (or maybe my WinZip has a problem with it). I cannot
see the code.
BTW, are you using mono 0.23 or the CVS version?
- Lluis.
----- Original Message -----
From: <yoros at wanadoo.es>
To: "mono-devel-list" <mono-devel-list at lists.ximian.com>
Sent: Monday, April 21, 2003 2:41 AM
Subject: [Mono-devel-list] Sample of remoting with PInvoke
>
> Hello,
>
> I have this example of Remoting with PInvoke. You just must to untar the
> sources and run "make". I've prepared the Makefile for mcs on linux...
>
> You must to take care with this two points:
>
> - For running Client.exe, set the environment
> variable LD_LIBRARY_PATH to the path where is
> "libExternClass.so".
> - For running Server.exe, ensure that the library
> "libExeternClass.so" is not in LD_LIBRARY_PATH.
>
> Good, when running the server, I have the following unespected messages:
>
> ** (./Server.exe:32498): WARNING **: Failed to load library
> libExternClass.so (ExternClass): libExternClass.so: cannot open shared
> object file: No such file or directory
>
> ** (./Server.exe:32498): WARNING **: Failed to load library
> libExternClass.so (ExternClass): libExternClass.so: cannot open shared
> object file: No such file or directory
>
> Unhandled Exception: System.NullReferenceException: A null value was
> found where an object instance was required
>
> This messages should not be in the server output because the server has
> nothing to do with PInvoke. The client never ends. Do anybody knows
> what's happening?
>
> I tried to change Executable with IExecutable and receive in "Info" only
> the interface but it's bad too. I get the same error.
>
> If anybody knows something that can help me, post it, please.
>
> Regards,
>
> Pedro
>
> --
> Pedro Martínez Juliá
> \ yoros at terra.es
> )| yoros at wanadoo.es
> / http://yoros.cjb.net
> Socio HispaLinux #311
> Usuario Linux #275438 - http://counter.li.org
> GnuPG public information: pub 1024D/74F1D3AC
> Key fingerprint = 8431 7B47 D2B4 5A46 5F8E 534F 588B E285 74F1 D3AC
>
More information about the Mono-devel-list
mailing list