Daniel,

Use the ios::binary open mode for istringstream.

HTH
Chuck

On Jun 14, 2011, at 7:35 AM, Daniel Cámpora wrote:

> Hello community,
> 
> Apparently, the problem is related to the formation of the strings I'm trying 
> to pass to the istringstream. Since they contain the \0 character, they 
> finish earlier than expected.
> 
> Has anybody found any workaround for this?
> 
> Thank you!
> 
> Cheers,
> Daniel
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=40466#40466
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to