Robert Purves wrote: > > > > > 1 - How do you get the QDColors? > > The piece of code below doesn't work correctly whether I use XREF or > > XREF@: > > > > LMGetQDColors returns a pointer, not a handle as documented. > <snip> Thanks Robert. The documentation was not clear enough for me. Sometimes it says it is a pointer and sometimes a handle that's why I tried the two versions of XREF, but in reality my problem was with the wrong format I was using for the data in the array. -- Cheers, Alain