Try changing the line "c_pointer($vPoint->)" to "c_pointer($vPoint)", and make sure $X is set to "1" or "2".
Keith - CDI > On May 10, 2017, at 4:39 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi All, > > I use 4D V13 on windows. > This code in interpreted work, but in compiled application give an error: > > c_pointer($vPoint->) > > ARRAY STRING(12;$aCodMat_1;0) > ARRAY STRING(12;$aCodMat_2;0) > DISTINCT VALUES([TABLE]Cod;$aCodMat_1) > DISTINCT VALUES([TABLE]Cod_1;$aCodMat_2) > > > $vPoint:=Get pointer("$aCodMat_"+String($X)) > --------> error on this command $R:=Size of array($vPoint->) > > Someone know because? > > Thanks > Ferdinando > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************