How about if Lazarus is in the Program Files directory, it searches AppData
first.
If not it searches it's directory first then AppData.
On Mon, Dec 22, 2008 at 4:28 PM, Alexander Klenin wrote:
> On Sat, Dec 20, 2008 at 21:48, Michael Van Canneyt
> wrote:
> > I specially chose local because I d
On Sat, Dec 20, 2008 at 21:48, Michael Van Canneyt
wrote:
> I specially chose local because I don't want it to be roaming data.
This is actually a (minor) problem sometimes -- e.g. students at unversity
where I work have roaming profiles so the could log in and work prom
any PC in the domain.
Wit
Zaher Dirkey schreef:
I have external hard disk (USB) and use it in both work and my home,
put every thing on it, the problem after Lazarus using that AppData
folder i lost between home and work, is any way to change Lazarus
config folder to special folder (i will point to my usb hard).
Yes,
I have external hard disk (USB) and use it in both work and my home,
put every thing on it, the problem after Lazarus using that AppData
folder i lost between home and work, is any way to change Lazarus
config folder to special folder (i will point to my usb hard).
On Sat, Dec 20, 2008 at 3:48 PM
En/na Vincent Snijders ha escrit:
I thought that local version is not stored on the network and is not
available in the roaming profile. Putting a 100 MB Lazarus exe in the
CSIDL_APPDATA is not a good thing, it ruins startup time (and shutdown
Well, I don't think that an executable is conf
On Sat, 20 Dec 2008, Vincent Snijders wrote:
> Felipe Monteiro de Carvalho schreef:
> > Hello,
> >
> > GetAppConfigFile in win32 uses CSIDL_LOCAL_APPDATA to be implemented.
> >
> > I did some research, and I think that CSIDL_APPDATA is a better choice:
> >
> > http://blogs.msdn.com/oldnewthi
Felipe Monteiro de Carvalho schreef:
Hello,
GetAppConfigFile in win32 uses CSIDL_LOCAL_APPDATA to be implemented.
I did some research, and I think that CSIDL_APPDATA is a better choice:
http://blogs.msdn.com/oldnewthing/archive/2005/07/01/434647.aspx
They are very similar, but the LOCAL vers
Hello,
GetAppConfigFile in win32 uses CSIDL_LOCAL_APPDATA to be implemented.
I did some research, and I think that CSIDL_APPDATA is a better choice:
http://blogs.msdn.com/oldnewthing/archive/2005/07/01/434647.aspx
They are very similar, but the LOCAL version is a bit more specifc,
and the non-
On Sat, Oct 4, 2008 at 8:27 PM, Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> wrote:
> The parameter exists to choose if you wish the local or global config file.
>
> Please don't change this.
+1
I have cases in certain projects where I want to look at global and
sometimes and local config file
The parameter exists to choose if you wish the local or global config file.
Please don't change this.
--
Felipe Monteiro de Carvalho
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Micha Nelissen wrote:
Vinzent Höfler wrote:
Often, after a first install, the local config does not exist yet (or
the user may have deleted it), so your proposed approach would
completely disable the local config then, because without the proper
No, when saving you always save to the local c
En/na Vinzent Höfler ha escrit:
Agreed. But it's as it is, I guess. It was broken so often, can't do
that again... ;)
I think it's still broken, at least under windows (for roaming profiles
to work it should return CSIDL_APPDATA and not CSIDL_LOCAL_APPDATA), but
I guess that's a matter of op
On Sat, 4 Oct 2008, Micha Nelissen wrote:
> Hi,
>
> Why is there a parameter to GetAppConfigFile? I'd suggest something like:
>
> function GetAppConfigFile: string;
> begin
> { first look for user specific config file }
> Result := GetAppConfigFile(false);
> if FileExists(Result) then
>
Vinzent Höfler wrote:
Often, after a first install, the local config does not exist yet (or
the user may have deleted it), so your proposed approach would
completely disable the local config then, because without the proper
No, when saving you always save to the local config file, because mos
Micha Nelissen wrote:
Why is there a parameter to GetAppConfigFile? I'd suggest something like:
function GetAppConfigFile: string;
begin
{ first look for user specific config file }
Result := GetAppConfigFile(false);
if FileExists(Result) then
exit;
{ otherwise use global one }
Re
Dňa So, 2008-10-04 o 12:23 +0200, Micha Nelissen napísal:
> Hi,
>
> Why is there a parameter to GetAppConfigFile? I'd suggest something like:
>
> function GetAppConfigFile: string;
> begin
>{ first look for user specific config file }
>Result := GetAppConfigFile(false);
>if FileExists
Hi,
Why is there a parameter to GetAppConfigFile? I'd suggest something like:
function GetAppConfigFile: string;
begin
{ first look for user specific config file }
Result := GetAppConfigFile(false);
if FileExists(Result) then
exit;
{ otherwise use global one }
Result := GetAppConfi
On 12/09/2007, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > Is this a oversight or by design?
>
> This is by design.
>
> The Free Desktop Project's recommendations were used for the current
> implementation.
>
> I assume that for symmetry reasons, you would like to see it the same in
> both ?
On Wed, 12 Sep 2007, Graeme Geldenhuys wrote:
> Hi
>
> I created a simple console application that executes the following commands...
>
>
> writeln('GetAppConfigDir(False);');
> writeln(' ' + GetAppConfigDir(False));
> writeln('GetAppConfigFile(False);');
> writeln(' ' + GetAppCon
Hi
I created a simple console application that executes the following commands...
writeln('GetAppConfigDir(False);');
writeln(' ' + GetAppConfigDir(False));
writeln('GetAppConfigFile(False);');
writeln(' ' + GetAppConfigFile(False));
writeln('ApplicationName');
writeln(' ' + Ap
20 matches
Mail list logo