DEFINE CLASS MyTest AS custom olepublic PROCEDURE MakeCopy lparam oo oo.addproperty("aat[9]") DIMENSION Aat[9,1] DIMENSION bbt[9] aat[1,1]="Something here" aat[9,1]="Something more here" =ACOPY(aat,oo.aat) endproc ENDDEFINEIf i create a DLL from this and run it
oJ=CREATEOBJECT("acopytest.mytest") bb=CREATEOBJECT('custom') oj.MakeCopy(bb)I get the Feature not available error (1001) on the ACOPY line
oJ=CREATEOBJECT("mytest") bb=CREATEOBJECT('custom') oj.MakeCopy(bb) ?bb.aat[1] ?bb.aat[9]The acopy works fine in COM as long as it isn't copying the array to an object property.