Re: [fpc-devel] GetAppConfigFile implementation

2008-12-22 Thread Zaher Dirkey
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

Re: [fpc-devel] GetAppConfigFile implementation

2008-12-22 Thread Vincent Snijders
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,

Re: [fpc-devel] GetAppConfigFile implementation

2008-12-22 Thread Alexander Klenin
On Sat, Dec 20, 2008 at 21:48, Michael Van Canneyt mich...@freepascal.org 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

Re: [fpc-devel] GetAppConfigFile implementation

2008-12-22 Thread Carolos
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 kle...@gmail.com wrote: On Sat, Dec 20, 2008 at 21:48, Michael Van Canneyt mich...@freepascal.org wrote:

[fpc-devel] GetAppConfigFile implementation

2008-12-20 Thread Felipe Monteiro de Carvalho
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

Re: [fpc-devel] GetAppConfigFile implementation

2008-12-20 Thread Vincent Snijders
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

Re: [fpc-devel] GetAppConfigFile implementation

2008-12-20 Thread Michael Van Canneyt
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:

Re: [fpc-devel] GetAppConfigFile implementation

2008-12-20 Thread Luca Olivetti
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