Re: Ini files.



I realize that there are no perfect solutions for this problem

C:\ rocks :-)

Not in vista it doesn't, or in XP as a non-admin user.

Seriously though, why not make the service soley responsible
for editing the INI file? Then the GUI can communicate
with the service to get/set the settings
from the INI file.
This way, the GUI needs no direct knowledge of where the
INI file is stored, and does not need permission to read/write
anywhere in particular. All the INI file writing would be done
by the service.
All you will need to do is figure out some mechanism for
communicating between the service and the GUI...!

Cheers,

Chris


.



Relevant Pages

  • Re: ANN:subreal.PIN v1.0.1.12
    ... > and are added under automatic creation ini file. ... > # Window of editing the link has Mail Address. ... > # Corrections in property TPinRLink.ClipboardText ... > # Change syntax dialogue tag's in links. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Looking for some advice for my program
    ... Are you saying you read and write to .ini's without the API? ... told it was no good for the reasons ... But that deals with outside editing of an INI file and getting your changes ...
    (microsoft.public.vb.general.discussion)
  • Re: Looking for some advice for my program
    ... told it was no good for the reasons ... Never use the registry and haven't found a ... But that deals with outside editing of an INI file and getting your changes ...
    (microsoft.public.vb.general.discussion)