As you see I have to use a c library, and I can not do what you are suggesting
can I, I geuss May be I do not understand what you have said.
Could you elaborate more.

Thanx

AD