[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] Stratoria V0.0.28b dispo pour test/dispo for testing
From:       Benoit Minisini <gambas () users ! sourceforge ! net>
Date:       2003-11-18 16:52:53
[Download RAW message or body]

Hi,

This is a important note for Olivier and other Gambas beginner. Maybe this 
warning should go on the wiki.

You CAN'T put configuration file INSIDE the project, except if you are sure 
you won't modify them.

When you make an 'executable', i.e. an compiled archive of your project, all 
files that were inside the project go in the archive, and then become 
read-only !

When you are developing in the IDE, Gambas does not prevent you from modifying 
these project files if you use absolute paths - Yes, it is not a good thing, 
but at the moment testing that is an overhead.

So, Olivier, your configuration file must be stored:
- Under user home directory - The standard path is ~/.gambas/MyProg.conf
- Under /etc or /opt/Myprogram/etc, but this need root rights... Your program 
can do that when it is launched as root.

Regards,

-- 
Benoit Minisini
mailto:gambas@users.sourceforge.net



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic