[fpc-pascal] Re: Changes in fcl-web

2010-11-01 Thread leledumbo
After installing all components, I try to open one of the examples (from 03-12 version of webdesign package) and I got: ERROR: There are more GeckoComponentsShutdown then GeckoComponentsStartup. And how do I use the components actually? The examples have lfm consisting of THtml containing THead

[fpc-pascal] TThread descendant with public events

2010-11-01 Thread Graeme Geldenhuys
Hi, What is the rules regarding a TThread descendants and public events. I created a thread that has OnXXX events. These events are triggered in the Execute method of that event. Now my main event (which manages the application GUI) hooked into these event by implementing event handlers. Those

Re: [fpc-pascal] TThread descendant with public events

2010-11-01 Thread Sven Barth
On 01.11.2010 09:57, Graeme Geldenhuys wrote: Hi, What is the rules regarding a TThread descendants and public events. I created a thread that has OnXXX events. These events are triggered in the Execute method of that event. Now my main event (which manages the application GUI) hooked into

Re: [fpc-pascal] TThread descendant with public events

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 09.57:21 Graeme Geldenhuys wrote: Is this safe to do? No. An onxx event is a tmethod. Triggering the event means calling the method - it runs in context of the calling thread. Martin ___ fpc-pascal maillist -

Re: [fpc-pascal] TThread descendant with public events

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 11:06, Sven Barth het geskryf: The code is still run in the thread's context, no matter whether the code is in your TThread class or e.g. a global procedure. So you should use Synchronize to trigger the event. Thank you very much Sven and Martin. What you said then confirms

[fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
Hi, MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing list: https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk NNTP gateway:

[fpc-pascal] Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Graeme Geldenhuys
Hi, I need to write a data conversion app. Has anybody read MDB data under Linux yet, using SqlDB? I saw there was a ODBC database component, and searched by Ubuntu repository. I installed 'iodbc', 'libiodbc2' and 'libiodbc2-dev'. The 'iodbc' package came with a GTK ODBC Admin app, but I have

Re: [fpc-pascal] Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Michael Van Canneyt
On Mon, 1 Nov 2010, Graeme Geldenhuys wrote: Hi, I need to write a data conversion app. Has anybody read MDB data under Linux yet, using SqlDB? I saw there was a ODBC database component, and searched by Ubuntu repository. I installed 'iodbc', 'libiodbc2' and 'libiodbc2-dev'. The 'iodbc'

[fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Sun, Oct 31, 2010 at 8:14 AM, Marcos Douglas m...@delfire.net wrote: I need to do a full text scan in PDF files i.e. convert PDF in plain text, parser and save the informations. I saw the XPDF[1] lib but I would like a lib coded in Pascal... if is possible. What do you recommends to do

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Alberto Narduzzi
Somebody can help me please? I need to search strings in Text files using just FPC. how about reading every line and then using Pos() to see if some string is there? HTH ;-) Cheers, A. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using just FPC. how about reading every line and then using Pos() to see if some string is there? I don't think this way is the fast way :(

[fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Bo Berglund
On Mon, 1 Nov 2010 13:00:23 +0100 (CET), Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 1 Nov 2010, Graeme Geldenhuys wrote: Hi, I need to write a data conversion app. Has anybody read MDB data under Linux yet, using SqlDB? I saw there was a ODBC database component, and

Re: [fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Andreas Schneider
On Mon, 01 Nov 2010 13:34:00 +0100, Bo Berglund bo.bergl...@gmail.com wrote: Just tacking on the other MS database MSSQLServer: Is it possible to also work with MS SQLServer databases via ODBC on FPC from Linux? Obviously the SQLServer must be running on Windows so this is about network

Re: [fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 14:34, Bo Berglund het geskryf: Just tacking on the other MS database MSSQLServer: Is it possible to also work with MS SQLServer databases via ODBC on I would imagine the only obstacle in that would be to find a ODBC MS-SQL Server driver for Linux. EasySoft has one listed, but I

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 7:13 AM, Martin Schreiber mse00...@gmail.com wrote: Hi, MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing list:

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 11:14 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2010-11-01 15:48, Marcos Douglas het geskryf: If you use the FPC from http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 then the version is 2.4.3, right? Yes, and that works with MSEide too. The 2.4.3

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 16:33, Marcos Douglas het geskryf: The 2.4.3 version is the version of do you use? This is the version oficial to production, from SVN? I use that version (fixes_2_4 branch) for my day-to-day programming at work and home. It's normally the most stable development platform to

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 15.33:34 Marcos Douglas wrote: On Mon, Nov 1, 2010 at 11:14 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2010-11-01 15:48, Marcos Douglas het geskryf: If you use the FPC from http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 then the version is

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Brian Winfrey
Which address should I be using? It looks like the UUID and revision are the same while Last changed revision and path are different. svn info http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 Path: release_2_4_2 URL: http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 Repository Root:

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 16.24:30 Brian Winfrey wrote: Which address should I be using? It looks like the UUID and revision are the same while Last changed revision and path are different. [...] For MSEide+MSEgui you can use both. It is your choice if you wan't to use a tagged release or

Re: [fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Artur Stuczynski
I only know of a unixodbc driver called FreeTDS. I successfully connected to a MSSQL Server 2008 from my FPC application on Linux, using unixodbc, freetds and sqldb :) I can confirm this setup (FreeTDS+unixodbc) only I accessed SQL Server from Linux via Zeos instead of sqldb. Artur

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 13.34:45 Marcos Douglas wrote: On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using just FPC. how about reading every line and then using Pos() to see if

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 1:21 PM, Martin Schreiber mse00...@gmail.com wrote: On Monday, 1. November 2010 13.34:45 Marcos Douglas wrote: On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marco van de Voort
In our previous episode, Marcos Douglas said: albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using just FPC. how about reading every line and then using Pos() to see if some string is there? I don't think this way is the fast

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Marcos Douglas said: albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using just FPC. how about reading every line and then using Pos()

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:10, Marco van de Voort wrote: In our previous episode, Marcos Douglas said: albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using just FPC. how about reading every line and then using Pos() to see if some

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:31 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:10, Marco van de Voort wrote: In our previous episode, Marcos Douglas said: albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using just FPC.

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:20, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Marcos Douglas said: albertonardu...@yahoo.com wrote: Somebody can help me please? I need to search strings in Text files using just FPC.

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:36 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:20, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Marcos Douglas said: albertonardu...@yahoo.com wrote: Somebody can

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:42, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:36 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:20, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Marcos Douglas

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:50 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:42, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:36 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:20, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:10 PM, Marco van de

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:34, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:31 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:10, Marco van de Voort wrote: In our previous episode, Marcos Douglas said: albertonardu...@yahoo.com wrote: Somebody can help me please? I

Re: [fpc-pascal] Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Alberto Narduzzi
Sorry, I agree. But as I search for text within PDF files? I assumed true the following statement of yours... [Somebody can help me please? I need to search strings in Text files using just FPC.] so I suggested the fast-enough (in my opinion) use of the Pos function. If _now_ you want to

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 4:02 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:34, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:31 PM, Tomas Hajny xhaj...@hajny.biz wrote: On Mon, November 1, 2010 19:10, Marco van de Voort wrote: In our previous episode, Marcos Douglas

Re: [fpc-pascal] Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 4:27 PM, Alberto Narduzzi albertonardu...@yahoo.com wrote: Sorry, I agree. But as I search for text within PDF files? I assumed true the following statement of yours... [Somebody can help me please? I need to search strings in Text files using just FPC.] Yes, I

Re[2]: [fpc-pascal] Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread José Mejuto
Hello FPC-Pascal, Monday, November 1, 2010, 8:40:45 PM, you wrote: MD On Mon, Nov 1, 2010 at 4:27 PM, Alberto Narduzzi MD albertonardu...@yahoo.com wrote: Sorry, I agree. But as I search for text within PDF files? I assumed true the following statement of yours... [Somebody can help me

[fpc-pascal] Re: Re: TPLY

2010-11-01 Thread Paul Nicholls
leledumbo leledumbo_c...@yahoo.co.id wrote in message news:1288343826290-3241740.p...@n5.nabble.com... I would start with this site to learn how to create recursive descent parsers using Pascal :) Definitely, but it doesn't build AST, which is required if you need to write a parser for a