[Mono-devel-list] Sample of remoting with PInvoke
yoros at wanadoo.es
yoros at wanadoo.es
Sun Apr 20 20:41:31 EDT 2003
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
-------------- next part --------------
<£> íY]oÛ6Í«õ+.?Hɶ,ÀÞ¥NºHÚÂ1PmQ(4mqI?CþûHJ²$dzÎu±N÷Áúàå??Èsî<ÄBðIB'gG_Ç<¯í
A >z~»m
ya'ð: Õ¹ßìøá_i<q£%ãL<ëùsíÿQ×ÿòAbNûI$öÃó=¯®÷Æõ÷?0_?ô[Ê?hzÍ#ðö7íö?_ÿEÉ|áG!G¹ñϵ`dé^?|Àh.18ÇðÕqBåرsJÕ~?ëºöqÏz??õ4jûB«àÿóæ.Úó>7ø÷?mø÷?Ö:þÛ°Uãÿ6È·K!ñ?g¯\
rI?ØÍ·Çf·GâD?ÔÏ
¢Yϲfó» @ºêÀ%|ù)Q|£'mSK$ÕÁðÒMD(8B**|øÃM>£%Ø}ÏÄ×bÇîs
é 2eY3Æj4[bø (?/¹9íVÓ7~Âð?©éÀzØìZ# ,ÜÜ7bãvEÇþI3ëkg[?8JO÷Y%Ëé*[æéh¯°3ÇS»y£ lî¢Ø?lvG©IÝ¡ó$Ñ-VÍëß¿é?]í£;µIöYvé¿v;(ø¿ê¿fÿb/àÿ+ªøÍryBÙ«M]ÈèÕrÇoïþÀ?Âã°,KÊüÊËæ
7hæ*JÕÉ{|?H«éqéØ¥÷ûøѱH
!«+Ø4ÃFÙÛûÎY°ÿ~B0Ö^ØîøRý5þaÿ@ÿ ·?Áu2IwàsÚoôÛ¡å?/Uf?8s$5_0îþeÊjʱáÈå³qê?ÔD³îÙYÂPÄLÈ®g%XAv?}?
i/q)~ÀÙL©b3]rºSnÿJÆUð¯g²wôï®ÿúeo
ÿÁ¿~%¬ñ «â¿
F
5ýBUP?qAºW ÖôÊJ³nR»8wuß°ûjA_1?ºË«ðÀ±«lBÃãV
N1iVuâå@ùFÓ©ßmÊVÁÿMô'
ï9Çüû°Y|ÿïÿÍNýýç fEIÒÍÊ®«kNö
P&ä®ü`Vãâü ö&±1ã c?
0Â(°±¹¡e×^yÂkå˳¯ÇEÒ
õ&]ÎèT5;,"Nʯ/>__?~ÿüî|øHf:Î"Ã}9"ª]?ÚO&òÑv·«x'j<b®BÊ8Jǧ"ñ/7&ÀÕj
@TZb}Ì«ÜU<Õ" xõ±ò>n5?êÖ)+/Ö.pÊ· /Ë*?Ù
Õß
©KcGgS?Y.Tþz²àTU
G:ïkþJpD»VO_?¿5òj«¶Új«¶Új«íðö7Ç
·Î (
More information about the Mono-devel-list
mailing list