[fpc-pascal] Re: Easy way to build all packages

2008-04-10 Thread Felipe Monteiro de Carvalho
On Thu, Apr 10, 2008 at 10:19 PM, Felipe Monteiro de Carvalho > cd rtl > make OPT="-FUC:\Programas\lazarus22\fpc\2.2.1\units\i386-win32" > cd packages > make OPT="-FUC:\Programas\lazarus22\fpc\2.2.1\units\i386-win32" I forgot a cd .. =) Please ignore and sorry for the noise thanks, -- Felip

[fpc-pascal] Easy way to build all packages

2008-04-10 Thread Felipe Monteiro de Carvalho
Hello, Is there an easy way to build all packages which are adequate for my architecture? I am using this batch file: PATH=C:\Programas\lazarus22\fpc\2.2.0\bin\i386-win32 cd compiler make cp *.exe C:\Programas\lazarus22\fpc\2.2.1\bin\i386-win32 cd .. PATH=C:\Programas\lazarus22\fpc\2.2.1\bin\i38

Re: [fpc-pascal] Looking for a Firebird book?

2008-04-10 Thread Matt Emson
On 10 Apr 2008, at 11:44, Marco van de Voort wrote: Oh, and CPU is cheap compared to DB licenses nowadays. Aha, the Microsoft defense! ;-) Chewbaka was a Wookie, don't you know? ;-) I saw him whine yesterday in the Empire Strikes Back yes. And he was as realistic as buying P-I client

Re: [fpc-pascal] How to get a full backtrace in code?

2008-04-10 Thread Graeme Geldenhuys
Vincent Snijders wrote: Increase Max_Frame_Dump. You created a stack trace from the current frame (in the exception handler). To get the stack trace from the point that the exception occured, you need to use ExceptionFrames. See LCLProc.DumpExceptionBackTrace for an example. Thanks guys

Re: [fpc-pascal] How to get a full backtrace in code?

2008-04-10 Thread Vincent Snijders
Mattias Gaertner schreef: On Thu, 10 Apr 2008 16:39:09 +0200 Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Hi, I'm trying to create a default exception handler dialog for fpGUI. It should display the error message and when the user clicks on the 'Details' button, it should show the full backt

Re: [fpc-pascal] How to get a full backtrace in code?

2008-04-10 Thread Mattias Gaertner
On Thu, 10 Apr 2008 16:39:09 +0200 Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to create a default exception handler dialog for fpGUI. It > should display the error message and when the user clicks on the > 'Details' button, it should show the full backtrace. For some reas

[fpc-pascal] How to get a full backtrace in code?

2008-04-10 Thread Graeme Geldenhuys
Hi, I'm trying to create a default exception handler dialog for fpGUI. It should display the error message and when the user clicks on the 'Details' button, it should show the full backtrace. For some reason the backtrace I get is much smaller compared to the one if I don't handle exceptions

[fpc-pascal] Problem with running Postgres Example

2008-04-10 Thread Aranius
Hello, I have on my machine installed Windows XP, with PostgreSQL 8.3.1, and FPC 2.2.0 [full version with additional libraries...]. I'm trying to compile and run example delivered with FPC > "examples\postgres\testpg1.pp". The problem is there is an error message: "Import library not found

Re: [fpc-pascal] Looking for a Firebird book?

2008-04-10 Thread Michael Van Canneyt
On Thu, 10 Apr 2008, Matt Emson wrote: > I'm not trying to preach to you, as your position is one of taste, but the > logic you use is not as sound as you imply. No need to convince me :-) You are correct, and we do use stored procs in a few simple cases where speed is essential. But these are

Re: [fpc-pascal] Looking for a Firebird book?

2008-04-10 Thread Marco van de Voort
> Marco van de Voort wrote: > > For dialy routines, only if they are not complex, and significantly reduce > > the amount of data > > transfered tuples (the result set), and it can not be expressed in a query. > > > I don't doubt what you are saying, but in my experience, this is not the > cas

Re: [fpc-pascal] Looking for a Firebird book?

2008-04-10 Thread Matt Emson
Marco van de Voort wrote: Michael Van Canneyt wrote: My point of view is that a database is for storage, not for logic... Ah, this is basic use of resources. The benefit of Stored Procs is speed of execution. For dialy routines, only if they are not complex, and significant

Re: [fpc-pascal] Looking for a Firebird book?

2008-04-10 Thread Marco van de Voort
> Michael Van Canneyt wrote: > > > My point of view is that a database is for storage, not for logic... > > Ah, this is basic use of resources. The benefit of Stored Procs is speed > of execution. For dialy routines, only if they are not complex, and significantly reduce the amount of data tr

Re: [fpc-pascal] Looking for a Firebird book?

2008-04-10 Thread Matt Emson
Michael Van Canneyt wrote: On Wed, 9 Apr 2008, Matt Emson wrote: Michael Van Canneyt wrote: On Wed, 9 Apr 2008, Marco van de Voort wrote: IIRC Mass insertion could bring down the db (slow to an effective DOS to other users) unless you commit the transaction every 1 item

[fpc-pascal] RE: Succ() and Pred() operations

2008-04-10 Thread Crause, Christo (JC)
> Message: 9 > Date: Wed, 9 Apr 2008 13:55:40 -0800 > From: Ricardo Vi?gas <[EMAIL PROTECTED]> > Subject: [fpc-pascal] Succ() and Pred() operations > > Hi there! > > I have installed FPC 2.2.0 [2007/09/09] a few days ago on my > WinXP-Pro-SP2, and I'm just taking a Web Tutorial on the language.