On Sat, Mar 6, 2010 at 3:58 PM, Greg Keogh <[email protected]> wrote: >>The method looks fine. ParamArray is simply an attribute, so COM will >> ignore it. > > I’m more worried about the string[] being marshalled over COM. I don’t > think I’ve ever used an array in a COM visible method. > > Greg
You made me worry about my untested code and yes ByVal Values() As String results in a restricted interface in VB6 :-( But you can avoid it simply by using ByRef Values() As String. (And you can add <[In]()> if you don't need the values returned. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)
