Alex Villacís Lasso a_villacis@palosanto.com writes:
@@ -4159,7 +4161,9 @@ { WCHAR buff[256];
- setlocale(LC_ALL, "C"); sprintfW( buff, szFloatFormatW, fltIn );
- setlocale(LC_ALL, ""); return VarDecFromStr(buff, LOCALE_EN_US, 0, pDecOut);
You can't do that, setlocale() affects the whole process. In any case we shouldn't need to go through a string to convert a float to a decimal.