Re: [fpc-pascal] How to use fpGUI?

2014-07-20 Thread Holger
thing. If you need something else, take that.   Bye, Holger. (Programming experiences since 1973.)     ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] How to use fpGUI?

2014-07-19 Thread Holger Aschmann
Hi.   I write my programs in Free Pascal on NotePad, and I don't like to use Lazarus. Is there any possibility to use fpGUI, or doesn't it work without Lazarus?   Holger.     ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] [OT] which editor - emacs?

2010-01-10 Thread Holger Bruns
://lists.freepascal.org/mailman/listinfo/fpc-pascal Gedit, also geany. Works fine with fpc. HTH, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] readonly variables

2009-12-02 Thread Holger Bruns
Turbo Pascal and fpc reported the same error massage: Variable identifier expected. You simply cannot pass constant values by reference. HTH, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] One experience with the unit serial

2009-11-20 Thread Holger Bruns
Jonas Maebe schrieb: On 19 Nov 2009, at 14:30, Holger Bruns wrote: Since iopl is still not available to fpc in its 64-bit-version, I should move to c for future port programming. $ man iopl ... This call is mostly for the i386 architecture. On many other architec- tures it

Re: [fpc-pascal] One experience with the unit serial

2009-11-19 Thread Holger Bruns
language. The second idea I have is the use of the device files /dev/ttySx, but how can these files be used to get access to all of the registers of an uart? Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] One experience with the unit serial

2009-11-19 Thread Holger Bruns
Brad Campbell schrieb: Holger Bruns wrote: Hi, one more question regarding the unit serial. I use the following function to get one single byte form a serial port, which has been open before with seropen: function getdata(inhandle: tserialhandle; var recdata: char): longint; begin fillchar

[fpc-pascal] One experience with the unit serial

2009-11-18 Thread Holger Bruns
:= serread(inhandle, inbuffer[0], 1); recdata := inbuffer[0] end; I repeat this function as long as I need to read data from a serial port, byte by byte. One interesting error occurs at the 52478th byte: serread returns 0 instead of 1. How can I get it work properly? Best regards, Holger

[fpc-pascal] IOPL - how to use it?

2009-11-18 Thread Holger Bruns
Hi, I am currently running the fpc in version 2.2.2-8, and I have some problems to get iopl and fpiopl working. It seems, the units oldlinux and x86 are not available to this version. How can I solve this problem? Cheers, Holger ___ fpc-pascal

Re: [fpc-pascal] const records passed incorrectly

2009-11-16 Thread Holger Bruns
Michael Van Canneyt schrieb: In reality it's always the FPC team that is f*d when an incompatibility arises. I refuse to use Borland again. I have their Delphi and the manuals as well on my cupboard, but since I saw Lazarus und fpc the first time, I decided to move on. H

[fpc-pascal] Debugger for the fpc available?

2009-11-07 Thread Holger Bruns
Hi, while writing some Pascal code, I am still looking for a debugger, which works like the turbo debugger, in a similar way. I would love it to get a clue. Best regards, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-04 Thread Holger Bruns
I use it successfuily. If you feel bothered because I want to write data into registers of peripheral devices on my personal computer at home, I cannot find an answer to it. I need to accept your personal point of view as it is. There is nothing more, which I can do for you. Holger

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-04 Thread Holger Bruns
ten functions on serial ports are working now. Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-04 Thread Holger Bruns
/dev/ttyS0 on linux. My question is, what do I grab while reading from a device driver file like /dev/ttyS0? How can I deal with it? Best regards, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-04 Thread Holger Bruns
ccessfully with serial ports on linux. ps: Excuse my english. Helping you is very hard: you don't listen. On a mailing list, I can only read and write. ;-) Best regards, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-03 Thread Holger Bruns
ar with it. Todays pascal is far more advanced than turbo pascal from Borland or UCSD pascal on the old Apple II, and now I have to learn pascal just as a programming language, which I would see the first time in my life. Holger ___ fpc-pascal mailli

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-02 Thread Holger Bruns
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. Best regards, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-02 Thread Holger Bruns
Jonas Maebe schrieb: Holger Bruns wrote on Tue, 03 Nov 2009: I decided to copy all the necessary files for x86.pp and oldlinux.pp into one directory for compiling these two units. This compilation failed due to syntax errors. A bunch of warnings also appeared. I post only the syntax error

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-02 Thread Holger Bruns
, I can move on. Best regards, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] x86.pp and oldlinux.pp

2009-11-02 Thread Holger Bruns
to get this working. Debugging source code, which produces long lists of errors and warnings while compiling is a time consuming piece of work. Is there an alternative out there? Regards, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Some more units

2009-11-02 Thread Holger Bruns
tried to use make, but make also replies with error messages. Regards, Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-02 Thread Holger Bruns
Bernd Mueller schrieb: Holger Bruns wrote: Holger Bruns schrieb: I try to implement a direct port access. If this also leads to access errors, I should give it up. Embarassing. Accessing ports is limited to ports < 03ffh, more ports cannot be released with fpioperm. This means to

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-02 Thread Holger Bruns
Florian Klaempfl schrieb: Holger Bruns schrieb: Holger Bruns schrieb: I try to implement a direct port access. If this also leads to access errors, I should give it up. Embarassing. Accessing ports is limited to ports < 03ffh, more ports cannot be released with fpioperm. T

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-02 Thread Holger Bruns
Holger Bruns schrieb: I try to implement a direct port access. If this also leads to access errors, I should give it up. Embarassing. Accessing ports is limited to ports < 03ffh, more ports cannot be released with fpioperm. This means to me, successful serial port access on higher addres

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-02 Thread Holger Bruns
up. Embarassing. Holger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-02 Thread Holger Bruns
Jonas Maebe schrieb: Holger Bruns wrote on Mon, 02 Nov 2009: Martin schrieb: you can do: var buffer: Array of byte; SetLength(Buffer, 1000); SerRead(Handle, Buffer[0], 1000); I checked this out. It works not reliable. Sometimes I get real data, sometimes the data are corrupted. I have no

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Holger Bruns
Martin schrieb: Holger Bruns wrote: Jürgen Hestermann schrieb: function SerRead(Handle: TSerialHandle; var Buffer; Count: LongInt): LongInt; begin Result := fpRead(Handle, Buffer, Count); end; i don't understand the declaration for "buffer" in the function below, bec

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Holger Bruns
orking sample code to use this function in a working manner. In my example, serread replies only, what has been written with serwrite right before. Not even serflush, executed right after serwrite, can solve this problem to me. Holger ___ fpc-pascal mail

[fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Holger Bruns
rom the selected serial port? This is the part of the serial unit I am talking about: function SerRead(Handle: TSerialHandle; var Buffer; Count: LongInt): LongInt; begin Result := fpRead(Handle, Buffer, Count); end; I hope so far, you can help me out wi

[fpc-pascal]ptop.cfg

2004-02-09 Thread Holger Peters
Hi, is there any ptop.cfg sample file which uses a more delphi like style than the one which comes with FPC? Holger ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]What does this mean?

2004-01-20 Thread Holger Peters
Hi, thank you, a really stupid mistake from me, but it is still not working when I compile it with fpc main3.pp -gd . Holger Michael Van Canneyt schrieb: On Tue, 20 Jan 2004, Holger Peters wrote: Hi, I tried to compile this program: {$MODE OBJFPC} program DomTest3; uses DOM

[fpc-pascal]What does this mean?

2004-01-20 Thread Holger Peters
iling main3.pp Panic : Internal compiler error, exiting. main3.pp(22) Fatal: Internal error PS: Line 22 is the last line of the file. Is this a bug or is the mistake on my side? cu, Holger ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.fr

[fpc-pascal]What does this mean?

2004-01-20 Thread Holger Peters
Is this a bug or is the mistake on my side? cu, Holger ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]what Programming Environment : Editor & Debugger

2003-08-14 Thread Holger Peters
orked with intuitive systems, it is a bit work to get familiar with it. Gdb is a console-based debugger. Holger (If you've got troubles with vim, mail me) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Error 216 with SDL

2003-08-12 Thread Holger Peters
Holger Peters schrieb: Hi, I used SDL4FreePascal under Windows with FreePascal 1.0.6 and it worked fine. Now, I use RedHat 9.0 with FreePascal 1.0.10 and SDL4FreePascal doesn't work. When I compile the demos, I get the runtime error 216 at the first SDLcommand. Is there a solution? H

[fpc-pascal]Error 216 with SDL

2003-08-04 Thread Holger Peters
Hi, I used SDL4FreePascal under Windows with FreePascal 1.0.6 and it worked fine. Now, I use RedHat 9.0 with FreePascal 1.0.10 and SDL4FreePascal doesn't work. When I compile the demos, I get the runtime error 216 at the first SDLcommand. Is there a solution? H

Re: [fpc-pascal]XChat plugins using FPC

2003-07-25 Thread Holger Peters
Hi, if you are successful, I would be glad to receive the ported Header files and a small example. Holger James Mills schrieb: Hi, I can successully compile and test the plugin source listed at http://xchat.org/docs/plugin20.html written in C. However I don't like C much and am wonderi

[fpc-pascal]Printing

2003-06-27 Thread Holger Peters
hi, I'm writing an GTK+ Programm with FPC, and I'd like to print a GdkPixmap out (on paper, not on screen). Since GTK+ does not provide a printing interface I'd like to know if there is a plattformindependend (Windows and Linux) interface available

Re: [fpc-pascal]SDL with FPC - possible?

2003-06-19 Thread Holger Peters
Hi, I have used SDL4FreePascal for some time. Simplysearch it with google. It worked fine with FPC 1.0.6 under Windows, I have not used it under Linux, but I guess it is about the same. Please notice that libsdl is not ported completely. Holger Marco van de Voort schrieb: Are there any

[fpc-pascal]Bug? Error when compiling a folder

2003-02-23 Thread Holger Peters
Hi, it is not a great important bug, but it could be solved. In Linux, I discovered that FPC did not remark when I passed a folder as a source file, it halted with an error. Holger PS: Excuse my bad English, but the day was long *g* ___ fpc

[fpc-pascal]Understanding the compiler sources

2003-02-10 Thread Holger Peters
freepascal.org. Should I work through it from the beginning to the end? Or are there any other suggestions? Ciao, Holger ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Unit Graph with Linux (Knoppix) or alternative unit

2003-02-07 Thread Holger Peters
ight (I'm searching still the mistake). I think I've found now a Unit which is good enough, SDL4FreePascal. Thanks for your help, Holger ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Unit Graph with Linux (Knoppix) or alternative unit

2003-02-06 Thread Holger Peters
Hi, are there any alternatives? I think of a simple Graphic Unit, or a Widget for GTK with some simple drawing functions. I'm satisfied with a simple PutPixel procedure. Holger ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepasca

[fpc-pascal]Unit Graph with Linux (Knoppix) or alternative unit

2003-02-01 Thread Holger Peterrs
s working? (or is there any other Unit that allows the use of a PutPixel function in an easy way? A special GTK Graphic Widget was good, too.) Thanks, Holger -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! _

[fpc-pascal]1. FPC and Mandrake 2. Crosscompiling

2003-01-24 Thread Holger Peters
because I am not logged in as a root user? How can I solve this? 2. If there is no solution, can I run the windows version of FreePascal with WINE and compile the programs for Linux (crosscompiling)? If yes, how can I do this? Thanks for your awnser

[fpc-pascal]1. Mandrake & 2. FPC with WINE and crosscompiling

2003-01-24 Thread Holger Peterrs
cause I am not logged in as a root user? How can I solve this? 2. If there is no solution, can I run the windows version of FreePascal with WINE and compile the programs for Linux (crosscompiling)? If yes, how can I do this? Thanks for your awnsers. Holger -- +++ GMX - Mail, Messaging &a