Re: [fpc-pascal] fpc and serial port

2009-10-27 Thread Carsten Bager
> May I have a few examples to access /dev/ttyS* using fpc? - {$mode objfpc} {$LONGSTRINGS OFF} Unit uSio; Interface Type DataBuffer_typ=packed array[0..4095] of char; SendPacket_typ=Procedure(var b:DataBuffer_typ; len:long

Re: [fpc-pascal] fpc and serial port

2009-10-27 Thread papelhigien...@gmail.com
2009/10/27 Nataraj S Narayan > Hi > See: http://www.synapse.ararat.cz/ (synaser) and http://sourceforge.net/projects/pascalscada/ Regards, Fabio > > May I have a few examples to access /dev/ttyS* using fpc? > My purpose is to connect my Arm handheld to a thermal printer > connected to /de

[fpc-pascal] fpc and serial port

2009-10-27 Thread Nataraj S Narayan
Hi May I have a few examples to access /dev/ttyS* using fpc? My purpose is to connect my Arm handheld to a thermal printer connected to /dev/ttyS0. Presently, having a tough time using Qt Serialport classes in C++. I need to read and write same time, keep on parsing the input stream and respond

RE: Re: [fpc-pascal] someone using indy10 (tiburon)?

2009-10-27 Thread Henrik Genssen
Hi Prince, yes I think help could be useful. If you are familiar with ICONV and would like to help you can check out INDY10 at: https://svn.atozed.com:444/svn/Indy10/branches/Tiburon The public user acount has been renamed to "Indy-Public-RO" with no password. give it a simple try: uses Id

Re: [fpc-pascal] How to set LCL widgetset for my project?

2009-10-27 Thread Mattias Gaertner
On Tue, 27 Oct 2009 09:55:03 +0200 Graeme Geldenhuys wrote: >[...] > You might be able to use lazbuild as well - though I have no clue how > that program works. Gladfully the wiki knows: http://wiki.lazarus.freepascal.org/lazbuild Mattias ___ fpc-pas

Re: [fpc-pascal] How to set LCL widgetset for my project?

2009-10-27 Thread Alexander Grau
Sorry, my answer was only half of the truth. To use this compiled LCL in your project via command line, you have to specify it to the compiler (e.g. -dLCLqt), as well as other required paramters. Below you can see two examples of one project we compile via command line, both on OS X and on Wind

Re: [fpc-pascal] How to set LCL widgetset for my project?

2009-10-27 Thread Graeme Geldenhuys
2009/10/27 Alexander Grau : > > Compiling Lazarus QT LCL: > | > make clean lcl LCL_PLATFORM=qt That will only work if you are compiling the LCL itself or the Lazarus IDE. That will NOT work if you are compiling your own application. First off, you own application normally doesn't have a Makefile s

Re: [fpc-pascal] How to set LCL widgetset for my project?

2009-10-27 Thread 章宏九
Thank you. I will try, but I do not understand it. You mean in fact LCL is compiled when my project is compiled and no compiled LCL is given in FPC and Lazarus? I guess that LCL is given in sources code form and compiled while my program compiles. Thank you for your answer. --- Zhang, Hongjiu 20

Re: [fpc-pascal] How to set LCL widgetset for my project?

2009-10-27 Thread Alexander Grau
章宏九 schrieb: On the page (http://wiki.lazarus.freepascal.org/Qt_Interface), I read "To compile a project for Qt just select it as the target widgetset on the Compiler Options dialog." However, I am using vim instead of Lazarus IDE. How should I set the compiler options in the command line? I woul