views:

4444

answers:

1

Hi,

I have created a method who's return type is an ArrayList instead of List. And I have created a COM component. How do I access this ArrayList in my main application which is in C++?

ex:

 ArrayList fun1() 
 {
    ArrayList al = new ArrayList();

    al.Add("one");
    al.Add("two");

    return al;
 }

So how do I handle this return type in C++?

Thanks in advance.