[lazarus] Patch for win32 : ShowModal and Lazconf

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 10 03:41:25 EDT 2003

On Tue, 09 Sep 2003 21:11:10 -0300
Karl Brandt <pascalive at bol.com.br> wrote:

> Mattias Gaertner wrote:
> > On Tue, 09 Sep 2003 00:56:44 -0300
> > Karl Brandt <pascalive at bol.com.br> wrote:
> >>BTW: When Creating config files, if Primary file is not found, is tried 
> >>to copy from secondary file to primary file. This creates a exception 
> >>because primary file also not exists. Maybe can be checked if primary 
> >>file exists and if no, created a default one.
> Sorry,i mean secondary config file.
> > There is an try..except around the copy. And defaults are always
> > created.
> At least in my system, this default secondary config is not saved to disk.

The secondary config file is for templates. For example admins can setup
some default values for all users.
Can you tell me, where the exception is raised?


> I looked at the values of the Paths, and they are valid ones.
> > Even if the file exists.
> > I added a FileExists, so that debugging will show an exception less.
> karl
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives


More information about the Lazarus mailing list