Re: [fpc-pascal] Options for enabling output buffering

2008-12-12 Thread leledumbo
@Michael: Just as Tomas say, FlushFunc gets called when the output goes to console (AFAIK) regardless the SetTextBuf settings. @Tomas: OK, for a real world apps that's true. I guess I still have to write those things myself. Btw, is there any difference between code in an initialization section o

[fpc-pascal] TProcess question

2008-12-12 Thread Bart
Hi, Just played with TProcess for the first time. (I come from Delphi 3) I observed some oddities (?, or maybe I'm just dumb ...). If you try to execute a process that is non-executable (like for example a word doc), then on Windows an exception is raised and GetLastOSError returns 193. If you t

Re: [fpc-pascal] Re: How to build .so with FPC and use it in C program?

2008-12-12 Thread Marc Santhoff
Am Freitag, den 12.12.2008, 13:10 +0200 schrieb KES: > Здравствуйте, Seth. > > > kes# fpc -Sgi -CX -Xs -XX -vewnhi -l -Fu. -olibtest.so test.lpr > Hint: Start of reading config file /usr/local/etc/fpc.cfg > Hint: End of reading config file /usr/local/etc/fpc.cfg > Free Pascal Compiler version 2.2

Re: [fpc-pascal] Options for enabling output buffering

2008-12-12 Thread Tomas Hajny
On Fri, December 12, 2008 14:35, Michael Van Canneyt wrote: > On Fri, 12 Dec 2008, leledumbo wrote: > >> >> I'm tired of writing: >> >> uses >> Dos; >> ... >> begin >> TextRec(Output).FlushFunc:=nil; >> ... >> >> all the time in every programming contest I follow. Wouldn't it be >> better to >>

Re: [fpc-pascal] Options for enabling output buffering

2008-12-12 Thread Michael Van Canneyt
On Fri, 12 Dec 2008, leledumbo wrote: > > I'm tired of writing: > > uses > Dos; > ... > begin > TextRec(Output).FlushFunc:=nil; > ... > > all the time in every programming contest I follow. Wouldn't it be better to > provide an option or a define or whatever to enable output buffering? F

[fpc-pascal] Options for enabling output buffering

2008-12-12 Thread leledumbo
I'm tired of writing: uses Dos; ... begin TextRec(Output).FlushFunc:=nil; ... all the time in every programming contest I follow. Wouldn't it be better to provide an option or a define or whatever to enable output buffering? -- View this message in context: http://www.nabble.com/Options-fo

Re: [fpc-pascal] Re: How to build .so with FPC and use it in C program?

2008-12-12 Thread KES
Здравствуйте, Seth. kes# fpc -Sgi -CX -Xs -XX -vewnhi -l -Fu. -olibtest.so test.lpr Hint: Start of reading config file /usr/local/etc/fpc.cfg Hint: End of reading config file /usr/local/etc/fpc.cfg Free Pascal Compiler version 2.2.0 [2008/11/09] for i386 Copyright (c) 1993-2007 by Florian Klaempf

[fpc-pascal] RRDTool binding

2008-12-12 Thread Koenraad Lelong
Hello, Is there a binding for RRDTool ? With a linux-box I'm monitoring a device and for the moment I store the data in a text-file. Then I convert that text-file to a script to put the data in rrdtool and then I can get various graphs, which I could use on a web-site. I would like to put the data

Re: [fpc-pascal] How Much of the FP/LCL is there in Indy 9/10 of Lazarus?

2008-12-12 Thread Joost van der Sluis
Op donderdag 11-12-2008 om 16:33 uur [tijdzone -0600], schreef Prince Riley: > Has anyone used or attempted to use Indy with FPC... and if so how did > you incorporate the Indy components. See google. Joost ___ fpc-pascal maillist - fpc-pascal@lists

RE: [fpc-pascal] Cannot find GTK

2008-12-12 Thread Tomas Hajny
On Fri, December 12, 2008 08:15, Andres Linares wrote: > It still doesn't work. Is there any other path? or maybe, is there other > unset thing? I believe you mentioned previously that the unit is found if you use the command line compiler, right? Could you please check the path (successfully) us