Yea, you could do it that way, however there are several Windows API functions that will do it a lot quicker for you. They are GetPrivateProfileSection, GetPrivateProfileInt and GetPrivateProfileString. They are all relatively easy to use.
Regards
Owain Williams
|