Home Help Center

IceUtil.StringUtil.unescapeString

:confused:
In my program, I call Ice::stringToIdentity("abc"), but my program hangs up.

i traced into IceUtil.StringUtil.unescapeString

bool
IceUtil::unescapeString(const string& s, string::size_type start, string::size_type end, string& result)
{
assert(end <= s.size());
assert(start <= end);

result.reserve(end - start);

while(start < end)
{
char ch = s[start]; :confused: HANGS UP AT THIS LINE:confused:
if(ch == '\\')
{
start++;
if(start == end)
.............
return true;
}

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Can you please update your signature as decribed in this thread? (Description of your project, Web site of your company.)
  • My signature updated

    sorry, my first time to post
  • Now it worked

    Is it a foolish question? i do no know why it worked now.
    I am using VC++ 6
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Perhaps the problem is caused by a library mix-up of some sort? Perhaps you are mixing STLport with the built-in STL?
Sign In or Register to comment.