Hi diehardii,
I not sure string::str() is guarunteed to return a NULL terminated string. Try using string::c_str() instead. It does return a NULL terminated string.
See http://www.sgi.com/tech/stl/basic_string.html.
Jeff
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 10 of 10
Thread: Need StringStream AlternativeThreaded View
|
Click Here to Expand Forum to Full Width |