[Lazarus] Getting common documents folders

2015-05-27 Thread Richard Mace
Hi All, I need to use/get a common windows folder (in Win XP,Vista,7,8 and 8.1) that all users will have read/write access to by default. I think it is CSIDL_COMMON_DOCUMENTS Any ideas how I can code this in Lazarus? Many thanks Richard -- ___ Lazarus

Re: [Lazarus] Getting common documents folders

2015-05-27 Thread Glaucos Ginez
Hi, you can use GetEnvironmentVariable('LocalAppData') 2015-05-27 14:53 GMT-04:00 Richard Mace : > Hi All, > I need to use/get a common windows folder (in Win XP,Vista,7,8 and 8.1) > that all users will have read/write access to by default. > I think it is CSIDL_COMMON_DOCUMENTS > > Any ideas how

Re: [Lazarus] Getting common documents folders

2015-05-27 Thread Bart
On 5/27/15, Richard Mace wrote: > Hi All, > I need to use/get a common windows folder (in Win XP,Vista,7,8 and 8.1) > that all users will have read/write access to by default. > I think it is CSIDL_COMMON_DOCUMENTS Copied from winlazfileutils.inc (used by LazFieUtils unit): Procedure InitDLL; V

Re: [Lazarus] Getting common documents folders

2015-05-27 Thread Michael Van Canneyt
On Wed, 27 May 2015, Glaucos Ginez wrote: Hi, you can use GetEnvironmentVariable('LocalAppData') 2015-05-27 14:53 GMT-04:00 Richard Mace : Hi All, I need to use/get a common windows folder (in Win XP,Vista,7,8 and 8.1) that all users will have read/write access to by default. I think i

Re: [Lazarus] Getting common documents folders

2015-05-27 Thread silvioprog
On Wed, May 27, 2015 at 6:21 PM, Michael Van Canneyt wrote: > > > On Wed, 27 May 2015, Glaucos Ginez wrote: > > Hi, you can use GetEnvironmentVariable('LocalAppData') >> >> 2015-05-27 14:53 GMT-04:00 Richard Mace : >> Hi All, >> I need to use/get a common windows folder (in Win XP,Vista,7,8

Re: [Lazarus] Getting common documents folders

2015-05-28 Thread Michael Van Canneyt
On Wed, 27 May 2015, silvioprog wrote: On Wed, May 27, 2015 at 6:21 PM, Michael Van Canneyt wrote: On Wed, 27 May 2015, Glaucos Ginez wrote: Hi, you can use GetEnvironmentVariable('LocalAppData') 2015-05-27 14:53 GMT-04:00 Richard Mace :       Hi

Re: [Lazarus] Getting common documents folders

2015-05-28 Thread Richard Mace
Perfect Thank you On 27 May 2015 22:39, "silvioprog" wrote: > On Wed, May 27, 2015 at 6:21 PM, Michael Van Canneyt < > mich...@freepascal.org> wrote: >> >> >> On Wed, 27 May 2015, Glaucos Ginez wrote: >> >> Hi, you can use GetEnvironmentVariable('LocalAppData') >>> >>> 2015-05-27 14:53 GMT-04:0