Hi, Just one thing (I hadn't time to read it more for the moment and pierre might be the guy for you on this task) + char *psz_name = malloc( sizeof("title ") + 5 ); + sprintf( psz_name, "title %2i", i_title ); Use asprintf instead. -- ivoire | Rémi Duraffort