Re: [fpc-pascal] How to find a directory?

2012-04-06 Thread Timothy Groves
On 12-04-06 05:43 PM, Leonardo M. Ramé wrote: To check if a directory exists you can use the function "DirectoryExists('/path/to/directory')". To traverse your filesystem, just use findfirst-findnext: http://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html Okay, thanks. It seems I wa

Re: [fpc-pascal] How to find a directory?

2012-04-06 Thread Leonardo M . Ramé
To check if a directory exists you can use the function "DirectoryExists('/path/to/directory')". To traverse your filesystem, just use findfirst-findnext: http://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html Regards, Leonardo M. Ramé http://leonardorame.blogspot.com >___

[fpc-pascal] How to find a directory?

2012-04-06 Thread Timothy Groves
So the Powers That Be have decided that FSearch should never find a directory. Fantastic. So how *do* I find a directory (for example, to confirm if one exists?) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/

[fpc-pascal] connect to postgres db with fpc Mac OS X LION

2012-04-06 Thread César Espinoza
Hi all I thank you in adavance for your support :-) I can't connect to postgres db in foc /mac osx Liion I get the message > Connection to database template1 failed. > fe_sendauth: no password supplied > My postgres server is woryking ok. Mac oS X Lion -- --- César Espinoza Soto --

Re: [fpc-pascal] XML parser (fwd)

2012-04-06 Thread Michael Van Canneyt
Mailed to me in person, probably meant for the mailing list. Michael. -- Forwarded message -- Date: Fri, 6 Apr 2012 13:24:58 +0200 From: David Butler To: michael.vancann...@wisa.be Subject: Re: [fpc-pascal] XML parser Hi You might want to have a look at Fundamentals XML parse

Re: [fpc-pascal] XML parser

2012-04-06 Thread michael . vancanneyt
On Fri, 6 Apr 2012, Juha Manninen wrote: Hi I have a new job. Now I am looking for a proper XML parser for Delphi, for big XML files. The default Delphi parser, using MS DOM, chokes badly. 4 GB memory is not enough for it. Question: Does FCL-XML work with a new Unicode Delphi? I seriously