Problem passing array to COM Class

Problem passing array to COM Class

Anonymous
Not applicable
291 Views
0 Replies
Message 1 of 1

Problem passing array to COM Class

Anonymous
Not applicable
I have a class that is exposed to COM with the following Property.

If i try to set it using :

la_Pt(0) = 0.5
la_Pt(1) = 1.5
.CenterPoint = la_Pt

I get an object not set error. I can see the object get created in the watch
window, but as soon as I try to set the point I get the error.

Any suggestions?

Dale

Public Property CenterPoint() As Array

Get

Return mvarCenterPoint

End Get

Set( ByVal values As
Array)

mvarCenterPoint = values

End Set

End Property
0 Likes
292 Views
0 Replies
Replies (0)