On Tue, Nov 17, 2009 at 10:39 AM, Samudra Vishvajith Kapuruge <[email protected]> wrote: [...] > Thanks a lot Paul. I'll try your advice. > By the way the msdn says > *Note* This function is provided only for compatibility with 16-bit > Windows-based applications. Applications should store initialization > information in the registry. > > What does this mean? My program is aimed to work on 32/64 platforms.
It means application specific data like this should be stored in the registry, not in INI files, and you should really be using the registry version of those functions for new programs. INI files are basically associated with 16bit programs. There's nothing actually *stopping* you from using an INI files on 32/64 bit systems, it's just not recommended. -- PJH http://shabbleland.myminicity.com/ http://www.chavgangs.com/register.php?referer=9375 http://www.kongregate.com/?referrer=Shabble
