.NET

Reply
*Dale Levesque
Post 1 of 1

Problem passing array to COM Class

45 Views, 0 Replies
09-07-2005 11:52 AM
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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post