[Mono-list] issue with remoting by ref

Joe Castro t-joec@microsoft.com
Mon, 4 Aug 2003 23:14:45 -0700


This is a multi-part message in MIME format.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C35B18.DDC6DF53"

------_=_NextPart_001_01C35B18.DDC6DF53
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I was wondering if there are currently any known issues with passing
parameters by ref/out in remote objects?  I have code that works well
Linux-Linux and Windows-Windows but interfacing the two operating
systems gives bad results.  If I try to remotely instantiate a class
that contains methods with ref variables mono gives an error along the
lines of "The type is correctly named but the signature doesn't match".
If I wrap the remoting of such an object by creating some other remote
object that in turn creates and accesses it as a proxy, then I get an
error of IndexOutOfBounds in
System.Runtime.Remoting.RealProxy.PropagateOutParameters.  Does anyone
have any ideas about this?

Thanks, -Joe


------_=_NextPart_001_01C35B18.DDC6DF53
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I was wondering if there are currently any known =
issues with
passing parameters by ref/out in remote objects?&nbsp; I have code that =
works well
Linux-Linux and Windows-Windows but interfacing the two operating =
systems gives
bad results.&nbsp; If I try to remotely instantiate a class that =
contains methods
with ref variables mono gives an error along the lines of &#8220;The =
type is
correctly named but the signature doesn&#8217;t match&#8221;.&nbsp; If I =
wrap the
remoting of such an object by creating some other remote object that in =
turn
creates and accesses it as a proxy, then I get an error of =
IndexOutOfBounds in =
System.Runtime.Remoting.RealProxy.PropagateOutParameters.&nbsp;
Does anyone have any ideas about this?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks, -Joe<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C35B18.DDC6DF53--

--------------InterScan_NT_MIME_Boundary--