[Mono-list] RE: unmanaged type limitations -- no unmanaged arrays?

Andreas Nahr ClassDevelopment@A-SoftTech.com
Sat, 12 Jul 2003 18:22:32 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C348A2.8F2982B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

IMHO you can do such things in VB.Net (marshalling fixed sized strings).
I'm not sure if there is a way to do this in C# (and as far as I can =
remember there isn't a way).

However you might look at how this is done in VB.Net and then either use =
the same technique if possible in C#.

Andreas

P.S. I never tried this with Mono, so I don't know if passing fixed size =
strings is already supported in MonoBasic
------=_NextPart_000_0007_01C348A2.8F2982B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial>IMHO&nbsp;you can do such things in VB.Net =
(marshalling=20
fixed sized strings).</FONT></DIV>
<DIV><FONT face=3DArial>I'm not sure&nbsp;if there is a way to do this =
in C# (and=20
as far as I can remember there isn't a way).</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>However you might look at how this is done in =
VB.Net and=20
then either use the same technique if possible in C#.</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>Andreas</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>P.S. I never tried this with Mono, so I don't =
know if=20
passing fixed size strings is already supported in=20
MonoBasic</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C348A2.8F2982B0--