multidimensionally Array Help???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Walter

    #1

    multidimensionally Array Help???

    Hi Al

    I have a question about multidimensiona lly 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 multidimensiona lly 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

  • Dmitriy Lapshin [C# / .NET MVP]

    #2
    Re: multidimensiona lly Array Help???

    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

    Deliver reliable .NET software
    "Walter" <wde@value-management.ch> wrote in message
    news:umguRI#WDH A.536@TK2MSFTNG P10.phx.gbl...
    Hi Al

    I have a question about multidimensiona lly 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 multidimensiona lly 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


    Comment

    Working...