.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem passing array to COM Class

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
158 Views, 0 Replies

Problem passing array to COM Class

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 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost