View Single Post
Old 12-05-2006, 15:04   #27
Squee
Prowler
Squee's Avatar
Squee CompetentSquee CompetentSquee CompetentSquee CompetentSquee CompetentSquee CompetentSquee CompetentSquee CompetentSquee Competent  
  Activity Longevity
0/2018/20
Posts: 1,800
Gender: Male Ingame: Male
Soc: Irken Invaders
Location: Holland
EFD: 10,347.44
Reputation: Competent
Fame: 0 Achievements: 0

Quote:
Originally Posted by Teranoz View Post
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.
__________________


** your local flight service **
* Do you play EU, or does EU play you? *
Squee is offline Reply With Quote