Microsoft Calculator
▻https://hownot2code.com/2019/03/12/microsoft-calculator
Incorrect string comparison V547 Expression ‘m_resolvedName == L”en-US”‘ is always false. To compare strings you should use wcscmp() function. Calculator LocalizationSettings.h 180 wchar_t m_resolvedName[LOCALE_NAME_MAX_LENGTH]; Platform::String^ GetEnglishValueFromLocalizedDigits(....) const if (m_resolvedName == L"en-US") return ref new Platform::String(localizedString.c_str()); .... The example above shows incorrect comparison of strings. The programmer is in fact comparing pointers … Continue reading Microsoft Calculator
►https://1.gravatar.com/avatar/a7fa0bb4ebff5650d2c83cb2596ad2aa?s=96&d=identicon&r=G