Hi Experts,
I have a class in a C# class library. In this class I have a function that excepts an array of another class that is also in the same C# DLL.
From VB 6 I can use both classes no problem. I need to know how to do the following:
dim instancClass1 As CSharpClass1
dim instanceClass2Array(2) as CSharpClass2
Set instancClass1 = New CSharpClass1
Set instanceClass2Array(0) = New instanceClass2Array
Set instanceClass2Array(1) = New instanceClass2Array
Call instancClass1.LoadArray(in
stanceClas
s2Array) '<- I get an error on this at compile time
Error: "Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic"
I would appreciate any help on this!