Quote:
Originally Posted by Teranoz
Just take a variable, fill it with the number 1 and devide by 2.
Than treat it as string and take the 2nd character and you have your seperator (or read it from the registry).
|
LOL, nice trick. Neva thought of that one. There are several functions for getting locale information as well. Thanks for the tip, but the conversion itself wasnt the problem. The functions used already took your system settings into account. That means that when writing it to the ini it saved or loaded it with the system settings as well. That ini wouldnt be readable on system with other settings. There are solutions for this, but I didnt want to spend to much time on it which would cause the update to be much later. First Fix, then Improve was my thought.