multidimensionally Array Help???

  • Thread starter Thread starter Walter
  • Start date Start date
W

Walter

Hi Al

I have a question about multidimensionally Arrays

I have an ActiveX EXE with a function
I made a reference to this activeX

Now i need to call my Method
Looks like

System.Array myArray; // should be an multidimensionally Array

if (Test.MyMethod(ref System.Array myArray))
{
//.......
}

I allways receive an exception.!!

Do someone have an idea how i must handle this in C#.
Thanks a lot
Walter
 
Hi Walter,

Could you please specify which exception do you get? In addition, which type
does the MyMethod exactly accept? Could it be object[ ] instead of
System.Array ?

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Unit Testing and Integration Environment
http://x-unity.miik.com.ua
Deliver reliable .NET software
Hi Al

I have a question about multidimensionally Arrays

I have an ActiveX EXE with a function
I made a reference to this activeX

Now i need to call my Method
Looks like

System.Array myArray; // should be an multidimensionally Array

if (Test.MyMethod(ref System.Array myArray))
{
//.......
}

I allways receive an exception.!!

Do someone have an idea how i must handle this in C#.
Thanks a lot
Walter
 
Back
Top