Sounds great in principle but I don't think it will fix the problem for Mac OS. For a start, I'm using old code (trying to get it working before I bring the source up to date) that looks like this: void LocalEnvironment::GetNumberOfDecimalPlaces(UINT32* DecimalPlaces) { TCHAR TS[8]; PORTNOTE("other","Removed GetProfileString usage") #ifndef EXCLUDE_FROM_XARALX GetProfileString("intl", "iDigits", "2", TS, sizeof(TS)); #else TS[0]=_T('2'); TS[1]=0; #endif // Convert the string into a number that the string represents which we // can then return to the caller. TCHAR* pszMark; *DecimalPlaces = tcstol( TS, &pszMark, 10 ); } No use of localeconv, notice. Secondly the HEAD version of localenv.cpp has conditional stuff that means that localeconv isn't being used. (No wonder I couldn't find it when I search my xcode project! It really isn't there!) Phil On 26 Apr 2006, at 15:39, Alex Bligh wrote:
|