Exporting COM interface with array argument

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?U2hhcm9u?=

    Exporting COM interface with array argument

    I'm exporting a COM interface from my C# application.

    I want to to export a function that will have an array argument of structs.

    The struct is like:

    public struct MyStaruct
    {
    int A;
    int B;
    Int C;
    }

    And in the C# code I have an array of MyStaruct:
    MyStaruct [] dataArray = new MyStaruct(100);

    How will the exported COM method should look like?

    Any other info about this issue, will be highly appreciated.


    --------
    Thanks
    Sharon
Working...