[fpc-pascal] RE: changing datetime of directories under DOS/Win

2008-04-22 Thread anonymous anonymous
> On Tue, 22 Apr 2008, anonymous anonymous wrote: > >> I'd like to ask if there is any way to change the timestamp of directories >> under DOS/Win. >> >> I'm writing a small command-line utility for file/dir manipulations. The >> only unit I've used is "sysutils". It has "fileage" and "fileset

Re: [fpc-pascal] Pascal postscript reading library

2008-04-22 Thread Ricardo Aguiar
Greeintgs again! There is another program named "pstoedit". They have a site: http://www.pstoedit.net/ Ok, it is in C/C++. But I hope this can help you. Reinvent the wheel is always dificult. This all raises a question: What about the dificulty of using external C/C++ libs in Linux (and wi

Re: [fpc-pascal] Pascal postscript reading library

2008-04-22 Thread Felipe Monteiro de Carvalho
On Sun, Apr 20, 2008 at 6:42 AM, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > PS is really complex, it's a full programming language after all. I would > consider a Ghostscript wrapper. The company that sells Ghostscript refused to sell it to my company due to insuficiente selling volume. Looks

Re: [fpc-pascal] The format of LongDateFormat?

2008-04-22 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: On Tue, 22 Apr 2008, Graeme Geldenhuys wrote: By default under Linux, the LongDateFormat is defined in SysUtils as follows: LongDateFormat: 'dd" "" "'; Must there be double quotes in the string? If so, what purpose do they serve? I've tried with or without

Re: [fpc-pascal] The format of LongDateFormat?

2008-04-22 Thread Michael Van Canneyt
On Tue, 22 Apr 2008, Graeme Geldenhuys wrote: > By default under Linux, the LongDateFormat is defined in SysUtils as follows: > LongDateFormat: 'dd" "" "'; > > Must there be double quotes in the string? If so, what purpose do they serve? > I've tried with or without the double quotes a

[fpc-pascal] The format of LongDateFormat?

2008-04-22 Thread Graeme Geldenhuys
By default under Linux, the LongDateFormat is defined in SysUtils as follows: LongDateFormat: 'dd" "" "'; Must there be double quotes in the string? If so, what purpose do they serve? I've tried with or without the double quotes and the output is exactly the same on my Linux system.

RE: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Michael Van Canneyt
On Tue, 22 Apr 2008, Chris wrote: > Also please note that I am writing a daemon that will be cron'd so I wont be > using lazarus. Let me see what I can come up with. Thanks all. To use these components you do not need lazarus. It's just easier to do so. Note that lazarus has special wizards to

RE: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Chris
Also please note that I am writing a daemon that will be cron'd so I wont be using lazarus. Let me see what I can come up with. Thanks all. PO Box 627 00502 Karen, Nairobi, Kenya. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Kirkpatrick Sent: 22

Re: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Chris Kirkpatrick
You may find some useful information in the Lazarus Wiki. See the following pages and browse for others: http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial http://wiki.lazarus.freepascal.org/MySQLDatabases http://wiki.lazarus.freepascal.org/Databases http://wiki.lazarus.freepascal.org/

RE: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Michael Van Canneyt
On Tue, 22 Apr 2008, Chris wrote: > Thanks, > > Where can I get these classes? Directories packages/fcl-db/src/sqldb and below. Michael. > > PO Box 627 00502 Karen, > Nairobi, Kenya. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Micha

Re: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Graeme Geldenhuys
Chris wrote: Thanks, Where can I get these classes? They come included with FPC. The source is available in FPC sources: /packages/fcl-db/src/sqldb/ Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http:/

Re: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Carsten Bager
> Does anyone have a simple (very simple) and basic way of connecting to a > mysql database, reading a record and writing a record into a table? That's > all I need to get started; or if there is some documentation somewhere on > how to use the unit id be grateful. Here is an example I found some

RE: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Chris
Thanks, Where can I get these classes? PO Box 627 00502 Karen, Nairobi, Kenya. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Van Canneyt Sent: 22 April 2008 1:52 p To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] MySQL50 unit in free

Re: [fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Michael Van Canneyt
On Tue, 22 Apr 2008, Chris wrote: > Hi, > > I am a newbie in freepascal but I have used turbo pascal and Delphi > extensively for the last 7 years or so; I want to write an application for > my linux box to do some crude form of replication of mysql databases. I am > just trying to figure out h

[fpc-pascal] MySQL50 unit in freepascal

2008-04-22 Thread Chris
Hi, I am a newbie in freepascal but I have used turbo pascal and Delphi extensively for the last 7 years or so; I want to write an application for my linux box to do some crude form of replication of mysql databases. I am just trying to figure out how to use the mysql50 unit, but cannot find heads

Re: [fpc-pascal] changing datetime of directories under DOS/Win

2008-04-22 Thread Michael Van Canneyt
On Tue, 22 Apr 2008, anonymous anonymous wrote: > > I'd like to ask if there is any way to change the timestamp of directories > under DOS/Win. > > I'm writing a small command-line utility for file/dir manipulations. The only > unit I've used is "sysutils". It has "fileage" and "filesetdate"