I think I need to add that the error message is a little misleading:
Quote:libstdc++So it will complain about NULL even if the char array is just empty ("\0").
if (__builtin_expect(__is_null_pointer(__beg) && __beg != __end, 0))
__throw_logic_error(__N("basic_string::_S_construct NULL not valid"));
Glad you fixed the problem.
jfl.
[Edited by - jflanglois on April 4, 2006 9:44:21 AM]