[fpc-pascal]project question

2004-05-02 Thread Paul Aviles
Hello all, I have a small project and wanted to know what suggestions you all will have. This is what the system must do. Runs in Linux Run as a daemon (not a problem) Be able to pass some parameters while the program is running and obtain the results back to a shell script of a perl program. Th

Re: [fpc-pascal] Accessing the registry

2004-05-02 Thread Matt Emson
> I would like to access the registry, but cannot figure out how to get > anywhere with it. If it uses a class similar to Delphi's : var Reg: TRegistry; begin Reg := TRegistry.Create; try Reg.RootKey := HKEY_CURRENT_USER; if Reg.OpenKey('\Software\Microsoft\Windows\CurrentVersion\Ru

Re: [fpc-pascal]Test Mac OS X installer

2004-05-02 Thread Olle Raab
04-05-01 22.09, skrev Jonas Maebe följande: > Hello, > > I've created an install package for the Mac OS X version of FPC (of > basically a snapshot of today, but it includes the docs). There is documentation ? If so where is it installed ? > You can find > it on the ftp site in the directory /

Re: [fpc-pascal] File copying

2004-05-02 Thread Matt Emson
> Any suggestions on a better method? uses classes, sysutils; procedure CopyFile(filename, newfilename: string); var oldfile, newfile: TFilestream; begin oldfile := TFileStream.Create(filename, fmOpenRead); //might need fmShareXXX style stuff too try oldfile.Position := 0; //cou

Re: [fpc-pascal] File copying

2004-05-02 Thread Marc Santhoff
Am So, den 02.05.2004 schrieb Matthews um 23:40: > I'm writing code that includes file copying, but the method I'm currently > using is far too slow. I'm currently just reading a file > character by character, and spitting it out to another file, character by > character. Unfortunately, that's

[fpc-pascal] File copying

2004-05-02 Thread Matthews
I'm writing code that includes file copying, but the method I'm currently using is far too slow. I'm currently just reading a file character by character, and spitting it out to another file, character by character. Unfortunately, that's brutally slow. Any suggestions on a better method? -Luk

[fpc-pascal] Accessing the registry

2004-05-02 Thread Matthews
I would like to access the registry, but cannot figure out how to get anywhere with it. I am currently using the 1.0.10 compiler on win32 and have been unable to find any documentation for the Registry unit that was shipped with fpc. Any suggestions or pointers to documentation, examples, or

[fpc-pascal]Looking for more mirrors

2004-05-02 Thread Florian Klaempfl
The interest in FPC has steadily increased during the last months and thus our mirrors get overloaded. So we're looking for more ftp mirrors. If you can provide space and traffic to mirror fpc, please contact us. More information can be found at http://www.freepascal.org/mirrors.html

Re: [fpc-pascal]cvs lock?

2004-05-02 Thread Michael . VanCanneyt
On Sun, 2 May 2004, Mattias Gaertner wrote: > On Sun, 2 May 2004 01:57:33 +0200 (CEST) [EMAIL PROTECTED] wrote: > > > > > > > On Sat, 1 May 2004, Mattias Gaertner wrote: > > > > > > > > fpc cvs is locked: > > > > > > cvs server: failed to create lock directory for > > > `/FPC/CVS/fpc/pack

Re: [fpc-pascal]cvs lock?

2004-05-02 Thread Peter Vreman
> And the next one: > > /usr/bin/ppc386 -di386 -dGDB -dBROWSERLOG -Fux86 -Xs -OG2p3 -n -Fui386 > -Fusystems -Fu/usr/src/redhat/BUILD/fpc-1.9.3/rtl/linux -Fii386 -FE. > -dRELEASE pp.pas > widestr.pas(52,24) Error: Identifier not found "StrLenInt" Fixed __

Re: [fpc-pascal]cvs lock?

2004-05-02 Thread Mattias Gaertner
On Sun, 2 May 2004 01:57:33 +0200 (CEST) [EMAIL PROTECTED] wrote: > > > On Sat, 1 May 2004, Mattias Gaertner wrote: > > > > > fpc cvs is locked: > > > > cvs server: failed to create lock directory for > > `/FPC/CVS/fpc/packages/extra/palmunits' > > (/FPC/CVS/fpc/packages/extra/palmunits/#cvs