To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7540
7539  |  7541
Subject: 
Re: I have some ideas / suggestions for all programmers
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 1 Aug 2002 14:15:03 GMT
Viewed: 
496 times
  
In lugnet.cad.dev, Eduardo wrote:

Could all apps use only ini files or cfg files
instead of the registry and save all ini / cfg
files in lets say C:\lego\configs or in the users
My documents in desktop "NT/XP"?

I agree about using INI files instead of the registry, because it's
easier/safer to directly edit INI files.  And it's easier for other
programmers to figure out the information.

For sharing settings between programs, it makes sense (IMO) to let
Window's API functions decide where to store the INI file -- that way,
all programs can easily locate the file.

But I suppose we could discuss supporting/recommending some kind of
semi-official \ldraw\config directory, where the \config\ would be
appended to whatever's in the LDRAWDIR environment variable (or found in
ldraw.ini, under [LDraw]/BaseDirectory).

Oh and last thing try not to use dll like VB6

Ha.  There is no try.  You either use the VB runtime dlls, or you don't.
If you write a program in VB, you'll need the dlls--there is no option.

But I don't understand why that would be a problem for you?

Steve



Message has 1 Reply:
  Re: I have some ideas / suggestions for all programmers
 
(...) Another good thing is that it's much easier just to copy the ldraw.ini file from one installation to another than try to go through the huge registry file and search for LDraw related info. Thus I, for example, get all the viewing angles I (...) (22 years ago, 1-Aug-02, to lugnet.cad.dev)

Message is in Reply To:
  I have some ideas / suggestions for all programmers
 
Hello to everyone, I'm working a small tool similar to l3p addon but it will be very simple, basic, won't need any dll and won't use windows registry. Well this post mainly is to say that I have a suggestion / idea for all ldraw related software (...) (22 years ago, 31-Jul-02, to lugnet.cad.dev)

8 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR