Re: [fpc-pascal] FreeType 2 with Free Pascal

2007-01-03 Thread Krishna
Hi Graeme, On 12/29/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Hi, Has anybody ever used the FreeType 2 library directly with Free Pascal? Anybody know of converted C headers for FreeType 2? I want to implement anti-aliased text in my fpGUI widget set and started with Xft, but that only

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Marco van de Voort
> > Whoops, I overlooked that part of his answer. You're right, I cannot > either (PC-Dos 2000, no emulation). This is weird, because I have been > able to do this in the past. But it has then been changed a long time ago > already Afaik some of the FS Dos habits changed going from FCBS to han

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Jason P Sage
I've written stuff in freepascal that can load and parse a directory and decipher if it’s a directory or a file - even on POSIX (linux - Fedora 5). I'm not saying this is a big achievement - but perhaps - at an expense of speed - but in definitive returned results - I wonder if it would be prudent

Re: [fpc-pascal] an old Turbo-Pascal source

2007-01-03 Thread Jason P Sage
Regarding porting the .^Screen references, if you know the format of how screen memory works.. you can allocate your own memory block and treat it like the screen and then make (usually need two) routines to move that data to the screen via a more FreePascal friendly method. I say two routines - b

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Daniël Mantione
Op Wed, 3 Jan 2007, schreef Jonas Maebe: > > > Maybe there's something I'm missing? > > > > No, because in a Dos like filesystem, a direcory abcd will still allow a > > file abcd to be created. In other words, fileexists returns false so the > > file can be created. > > As he mentioned above,

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Henry Vermaak
DirectoryExists? Yes, I know about that. Looks like you have to use FileExists and DirectoryExists together. Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Jonas Maebe
On 3 jan 2007, at 16:46, Daniël Mantione wrote: Op Wed, 3 Jan 2007, schreef Henry Vermaak: There is no getting away that Dos filesystem handling is different from Unix file handling. On Dos like platforms, a filename with a same name as a subdirectory can exist in the same directory. In oth

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Marco van de Voort
> Maybe there's something I'm missing? DirectoryExists? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Daniël Mantione
Op Wed, 3 Jan 2007, schreef Henry Vermaak: > > There is no getting away that Dos filesystem handling is different > > from Unix file handling. On Dos like platforms, a filename with > > a same name as a subdirectory can exist in the same directory. In other > > words, it should return false. > >

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Henry Vermaak
There is no getting away that Dos filesystem handling is different from Unix file handling. On Dos like platforms, a filename with a same name as a subdirectory can exist in the same directory. In other words, it should return false. I cannot create a file with the same name as a subdir under W

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Daniël Mantione
Op Wed, 3 Jan 2007, schreef Vincent Snijders: > Henry Vermaak schreef: > > Hi all > > > > FileExists seems to be inconsistent between linux and windows. > > FileExists in linux returns true for a directory, but not in windows. > > The windows behaviour is consistent with Delphi, though, and I a

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Vincent Snijders
Henry Vermaak schreef: Hi all FileExists seems to be inconsistent between linux and windows. FileExists in linux returns true for a directory, but not in windows. The windows behaviour is consistent with Delphi, though, and I assume that's correct. Can anyone confirm or comment on this? I ca

[fpc-pascal] FileExists inconsistency

2007-01-03 Thread Henry Vermaak
Hi all FileExists seems to be inconsistent between linux and windows. FileExists in linux returns true for a directory, but not in windows. The windows behaviour is consistent with Delphi, though, and I assume that's correct. Can anyone confirm or comment on this? Henry

Re: [fpc-pascal] an old Turbo-Pascal source

2007-01-03 Thread Florian Klaempfl
Marco van de Voort schrieb: using among others - ^Screen (from unit Dos) This indicates direct access of the textmode screen, which is not a good sign? This works on go32v2? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://list

Re: [fpc-pascal] an old Turbo-Pascal source

2007-01-03 Thread Marco van de Voort
> using among others > > - ^Screen (from unit Dos) This indicates direct access of the textmode screen, which is not a good sign? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] an old Turbo-Pascal source

2007-01-03 Thread Daniël Mantione
Op Wed, 3 Jan 2007, schreef Friedrich Hattendorf: > using among others > > - ^Screen (from unit Dos) > - unit GRAPH > > (I think, we then had written it with TP4) > > is there any chance to compile the source with FreePascal? It depends on the amount of assembler in it. If it is pure Pas