On Mon, 3 Jul 2006, Petr Hlozek wrote:

Hi,

I'm developing Linux application and I need install some share data. How
should I work with these data in program? Can I use direct path to data
(/usr/share/myapp/data)?

Yes, although I would recommend that you make this a configuration
option for your program, and write the actual location in a
configuration file in /etc/ or even ~/.somefile

The SysUtils unit contains some routines for handling configuration
filenames.

Michael.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to