We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to Marshall a 2D SAFEARRAY in C#.NET?

I have a COM DLL using 2D safearrays. I want to use the Interface in C# and need to marshall the 2D array using MarshalAs attribute I guess. Can anyone help me with the syntax please? Thanks

1 Reply

YU Yuriy September 23, 2002 11:57 AM UTC

Take a look @ example. I have example of calling Marshalled arrays from Fortran. Please let me know if you need COM client in VB or C++. Good Luck. Yuriy > I have a COM DLL using 2D safearrays. I want to use the Interface in C# and need to marshall the 2D array using MarshalAs attribute I guess. Can anyone help me with the syntax please? > > Thanks
Loader.
Live Chat Icon For mobile
Up arrow icon