Thanks Maneesh, Now I really feel like an idiot - that worked a treat :) As a matter of interest, what kind of techniques have people built up for debugging plug-ins? Cheers, Dave. Maneesh Yadav wrote: > > I think you need to allocate the return vals (the pointeryou get from the > args is to let you tell the caller where the return vals are...like this: > > static GimpParam values[1]; > > *nreturn_vals = 0; > *return_vals = values; > values[0].type = GIMP_PDB_STATUS; > values[0].data.d_status = GIMP_PDB_SUCCESS; > -- Dave Neary, Software engineer, Informix Dublin. Ireland. Phone: +353-1-409-1357