• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

read writing variables in .ini file or in windows log?

  • Thread starter Thread starter acitano
  • Start date Start date

acitano

Guest
Bye to all,
My question is not a technical but philosophical question.
I've been an autolisp/visuallisp programmer for years and I'm making a pretty challenging program for autocad 2010, I have it all in my head, the functions and variables I need to use etc.
I need to write and read about thirty configuration variables, functional to my program, do you think it is better to use the classic .ini file or the windows registry?
until now I have used .ini files but I don't hide that would fascinate me so much to write and read from the windows log, using of course the features already present in visuallisp.

thanks in advance
by acitano :rolleyes:
 
I tell you mine, without entering philosophy.. .

having an ini file guarantees you and the user who do not do biblical damage.

erring a writing in the win log can mess up all the s.o., writing the fragment in the log all the time, slowing down the whole system

An account is to write to us once, during the installation, another is to read/write continuously.

Of course the register is much more elegant, but also source of wood. It also examines this aspect.
and if among the thousands of variables that contain the register, you get the name of a variable that is not your program? It is true that there are sections and subsections, but I see it too delicate the register for a programmer that cannot carry out a beta testing on large numbers.
 
I agree with juseppe mauro.
I am passionate lover of .ini files

Also because...when I uninstall your program, do you remember to clean up my registry? the .ini file just deletes.
 
Thanks, guys.
I had thought about speed issues performance etc. etc. but I had not thought of the various cases that I could do type fragmentation and various conflicts between variables in the s.o., although as it recalled mauro there are sections and subsections.
You convinced me I will use the .ini files... and tomorrow I begin.
thanks acitano
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top