Re: [fpc-pascal]How to access a parallel port?

2004-01-05 Thread Johann Glaser
Hi Rainer! > I want to acces a parallel port (in Linux) from FPC 1.0.4 to control a > connected LCD display. I did such things in DOS with TP/BP by accessing the > hardware of the port directly, but this seems to be a little bit too close to > the hardware in linux. Instead, I would like to access

Re: [fpc-pascal]How to access a parallel port?

2004-01-05 Thread Sebastian Günther
Rainer Hantsch schrieb: Does anybody have a sample code for that? Also, a easy to understand documentation of all parallel-port ioctrl() functions would be helpful. I don't think the parport has any usable ioctrl(). In most cases using an user space program to control non-printer devices from user

[fpc-pascal]latest cvs

2004-01-05 Thread kractor
I've finally managed to properly compile the latest CVS (as of an hour or two ago). Turns out the problems i was having with those permission denied errors were windows being stupid (right-click -> properties not showing files are "read only" when they actually were). Just like to take this tim

[fpc-pascal]How to access a parallel port?

2004-01-05 Thread Rainer Hantsch
Hi! I want to acces a parallel port (in Linux) from FPC 1.0.4 to control a connected LCD display. I did such things in DOS with TP/BP by accessing the hardware of the port directly, but this seems to be a little bit too close to the hardware in linux. Instead, I would like to access the parallel p

Re: [fpc-pascal]file or fileexists?

2004-01-05 Thread Peter Vreman
> I've been trying to use the function file() to detect if a certain file > is in the current path, but i've been receiving an error message. > > What is the correct funtion? I've already used fileexists(), but it's > not correct also. Please post the code you used. FileExists() does not print an

[fpc-pascal]file or fileexists?

2004-01-05 Thread Edvaldo Silva de Almeida Júnior
I've been trying to use the function file() to detect if a certain file is in the current path, but i've been receiving an error message. What is the correct funtion? I've already used fileexists(), but it's not correct also. Can someone help me? Edvaldo Almeida [EMAIL PROTECTED] [EM