Re: Looking for some advice for my program



Are you saying you read and write to .ini's without the API?

RBS


"Ralph" <nt_consulting64@xxxxxxxxx> wrote in message news:uscNDIfZIHA.6044@xxxxxxxxxxxxxxxxxxxxxxx

"RB Smissaert" <bartsmissaert@xxxxxxxxxxxxxxxx> wrote in message
news:uv96xweZIHA.3652@xxxxxxxxxxxxxxxxxxxxxxx
I used to deal with .ini files with plain file I/O some years ago and was
told it was no good for the reasons
stated in this article. Never use the registry and haven't found a
situation
yet where I needed it.

RBS



But that deals with outside editing of an INI file and getting your changes
to stick. Also it dwells on Win3. IIRC, in later Win versions any write
disables everyone's copy.

Whenever I need to use INIs (excuse me, Private Cache Profiles) I include an
Object that encaspulates the whole process. I also include a little utility
to fill out an manage the tool. Doesn't take long just a simple ugly form
with Lablels and TextBoxes. I stick a little debug button in the app. It
doesn't take long since I have a template all ready to go. Thus, editing is
never a problem.

-ralph



.