On Tue, November 3, 2009 02:33, Holger Bruns wrote: > Brad Campbell schrieb: >> >> Why not try attaching your test code that is failing so we can help >> you get it working? > > Done. My fault was the following declaration: > > var inbuffer: array of char; > > This is a better declaration: > > var inbuffer: array[0..10] of char; > > Now I got my code working. Hidden pointers are new to me. Therefore I > felt in trouble with it. Secondly, it appears to be necessary to use the > fpc compiler as "root", not simply as a user, I guess.
The compiler may be certainly run under other users (well, at least if installed properly), but access to ports requires root privileges as far as I know. Tomas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal