Thread: Query about configuration file.

  1. #1
    Registered User
    Join Date
    Apr 2011
    Location
    Bangalore
    Posts
    20

    Query about configuration file.

    Hi all,

    I am developing a networking simulation software that has two component -
    GUI - Written in Java
    Backend dll's - Written in c.
    The user configues our s/w using the GUI. The GUI writes a config file (text file) which is then read by the C .dll's and processed accordingly.

    Since some of our customer wants to run our s/w beyond the constraint of the GUI. For doing this, they also need to manually create/edit the config file.

    So, for better usability we are thinking to moving to an xml based config file from the earlier text format. This xml config file is parsed using libxml (The XML C parser and toolkit of Gnome)

    I want to know whether our approach of moving to an xml based format is correct or is it better to retain a text based format.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Are you going to offer a free tool to convert from the old text format to the XML format?

    Have you actually asked your customers for an opinion?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Best place to store a configuration file
    By cas in forum Windows Programming
    Replies: 4
    Last Post: 03-20-2011, 07:19 PM
  2. configuration file
    By mick3339 in forum C Programming
    Replies: 1
    Last Post: 08-02-2010, 12:16 AM
  3. Configuration file parser
    By publikum in forum C++ Programming
    Replies: 5
    Last Post: 02-16-2005, 12:59 PM
  4. Configuration file
    By nbo10 in forum C# Programming
    Replies: 2
    Last Post: 05-18-2004, 09:07 PM
  5. Configuration File
    By gvector1 in forum C# Programming
    Replies: 0
    Last Post: 07-24-2003, 11:26 AM