void Win32TransService::upperCase(XMLCh* const toUpperCase) const
{
// BUGFIX Martijn Brinkers 000216
// there seems to be something wrong with _wcsupr under Win98
// it seems to be working with NT

//    _wcsupr(toUpperCase);

// I create my own uppercase funcion
    long len=wcslen(toUpperCase);

    for (int i=0; i<len; i++) {
      toUpperCase[i]=std::toupper(toUpperCase[i]);
    }
}

and now everything is working with Win98. I think this is related to
Builder4.

I hope someone can help clarifying this behaviour....

Martijn Brinkers


Reply via email to