From: Robby on
> >if((*icon_idx) != NULL)
>
> Why are you dereferencing the pointer? At this point, you are not the
> least bit interested in the value pointed to, only if the pointer
> points to an object you can use.

My error. I took care of this inmy last post:

if(x!=NULL)


regards
robert