Hi Mariano, >I was wondering if there is a way to directly use a C++ stream... No, you should not try to use a C++ stream as a C stream. >...or a StringStream, for that. No. In my opinion, you are better off turning uplifting the graphic library to be C++ savvy. HTH, --Eljay