Thanks to those who answered.  It was a simple goof using std::string's
substr() method; I was treating the second parameter as the end position
rather than the character count, thus lopping off some essential characters
and causing the failure.  It works now.

Reply via email to