Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic
Your new account INI files as well as other INI files contain file names. But I doubt any developers will be using non-ANSI file names. I also like to be able to copy some arbitrary text (Japanese looks so nice) into SMPT demo's message text Memo and get that restored. Mail is a different issue, no problem with that being stored as Unicode. There's no problem if you write to HKCU. There is if you want to configure settings for a service to use, with a dfferent account or no account atall. I use 'Dcouments and Settings\All Users\Application Data'. But current INI files are stored 'virtualized' in Vista. I use a CONFIG suffix so the OS does not mess with my files. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic
@Angus said... I use a CONFIG suffix so the OS does not mess with my files. Angus, can you please elaborate on that? I am not sure what you are referring to. Sounds like a way to keep Vista from virtualizing files? Thanks... Hoby -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic
I use a CONFIG suffix so the OS does not mess with my files. Angus, can you please elaborate on that? I am not sure what you are referring to. Sounds like a way to keep Vista from virtualizing files? I've really not looked into this stuff since Vista came out, but the main issue is applications are mostly no longer administrator level and so can not assume they can write to the program directory, assuming it's within Program Files. Application developers should never really have been writing to their program directory anyway, but some did, and Microsoft did not want old applications to break. So Vista 'cunningly' wrote the such files to a virtual location in Documents and Settings, or Users, or where ever instead. Real application developers simply wrote their files there in the first place. I seem to recall the same can happen in the registry, with HLM keys, which I used to use (with adjusted permissions). So I decided nice simple text files (not XML) were the answer, and called them .config, but that was probably a red herring, sorry. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic
Angus said... and called them .config, but that was probably a red herring, sorry Yeah, virtualization I get. Sorry, thought you were eluding to some super secret Microsoft convention for telling Vista to ignore a file using config in some magical way (name, reg key, etc). That would have been nice. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be