R
rpv30
Consider the folowing piece of code:
void main()
{
std::wstring testString;
testString = 0xfeff;
testString += L"123456";
__int64 testI64;
swscanf(testString.c_str(), L"%I64d", &testI64);
}
The swscanf() extracts the integer value from the string in Windows
2000, but it fails in Windows 2003. Could anybody please explain this
behaviour?
Regards
Prasanna Venkatesh R
void main()
{
std::wstring testString;
testString = 0xfeff;
testString += L"123456";
__int64 testI64;
swscanf(testString.c_str(), L"%I64d", &testI64);
}
The swscanf() extracts the integer value from the string in Windows
2000, but it fails in Windows 2003. Could anybody please explain this
behaviour?
Regards
Prasanna Venkatesh R