Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Bo Berglund
. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Bo Berglund
On Tue, 01 Feb 2011 06:07:25 +0700, Paul Ishenin webpi...@mail.ru wrote: 01.02.2011 5:28, Bo Berglund wrote: {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} resource which was added by lazarus 0.9.26 {$R *.res} added by lazarus 0.9.30? Remove {$IFDEF WINDOWS}{$R commtest.rc}{$ENDIF} and try again

Re: [Lazarus] Lazarus Project Group

2011-02-01 Thread Bo Berglund
and often they also share source files. So it is *very* convenient to use the project group concept to keep these easily accessible. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Error while compiling resources...

2011-02-01 Thread Bo Berglund
in a news reader via the news mirror at GMane and this makes me follow threads rather than time lines Anyway thanks for your pointers! Now I can go on debugging the serial communications instead. :-) -- Bo Berglund Developer in Sweden -- ___ Lazarus

[Lazarus] Use of Move()?

2011-02-01 Thread Bo Berglund
)) = SizeOf(Data); end; What I suspect is that I am not using the correct syntax for the Move call. I think I have read that there are subtle differences in FPC versus Delphi concerning such things as addresses. Bo Berglund -- ___ Lazarus mailing

Re: [Lazarus] Use of Move()?

2011-02-01 Thread Bo Berglund
On Tue, 1 Feb 2011 21:18:57 +0100, Burkhard Carstens f...@bcsoft.de wrote: Am Dienstag, 1. Februar 2011 21:03 schrieb Bo Berglund: I think I have made an error. I have created a generalized buffer handler for my project and here I have this function to read data from the buffer. function

Re: [Lazarus] Use of Move()?

2011-02-01 Thread Bo Berglund
works as expected for the initial one-char test. :-) Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] CGILazIDE cannot be found...

2011-02-01 Thread Bo Berglund
not overusing the group, though Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Jump back after using Find declaration?

2011-02-05 Thread Bo Berglund
of doing the jump back? Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Jump back after using Find declaration?

2011-02-06 Thread Bo Berglund
On Sun, 6 Feb 2011 09:50:33 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Saturday, 5 February 2011, Bo Berglund bo.berglund@. wrote: In Lazarus I don't see the back arrow, so I wonder if there is an alternate way of doing the jump back? In the edit or search menu

Re: [Lazarus] Jump back after using Find declaration?

2011-02-07 Thread Bo Berglund
On Sun, 6 Feb 2011 09:50:33 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Saturday, 5 February 2011, Bo Berglund bo.berglund@. wrote: In Lazarus I don't see the back arrow, so I wonder if there is an alternate way of doing the jump back? In the edit or search menu

[Lazarus] SdpoSerial port open problems

2011-02-09 Thread Bo Berglund
is this and how can I fix it? I need to know if the port is actually working or not -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] following wiki for new clean install from SVN...

2011-02-09 Thread Bo Berglund
and after that making the one line command to retrieve the sources was real simple too. Recommended! But please put a few links on the wiki page showing where to get the SVN client! There seems to be a whole lot of such floating around and it is very confusing for a SVNebie -- Bo Berglund

Re: [Lazarus] TortoiseSVN help.... error in Installing Lazarus wiki --- there is no download the source option

2011-02-09 Thread Bo Berglund
enter the checkout command at a command prompt in the directory where you want the checkout to happen. Simple as that and nothing to learn either, just use the posted commands... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] SdpoSerial port open problems

2011-02-09 Thread Bo Berglund
On Wed, 09 Feb 2011 22:26:51 +, Paulo Costa p...@fe.up.pt wrote: On 09/02/2011 22:10, Bo Berglund wrote: I have used SdpoSerial as the RS232 handler in a class which is used in a test application. In this I create the SdpoSerial component in code in the constructor of my class like

Re: [Lazarus] SdpoSerial port open problems

2011-02-09 Thread Bo Berglund
be wrong, but those were my criteria for selecting SdpoSerial plus advice obtained here. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SdpoSerial port open problems

2011-02-09 Thread Bo Berglund
On Thu, 10 Feb 2011 00:30:20 +, Paulo Costa p...@fe.up.pt wrote: On 09/02/2011 23:12, Bo Berglund wrote: I have tested the program now in the original development PC (a VMWare virtual XP-Pro machine) and my Win7X64 laptop and as long as I use a physical com port all seems to work OK

Re: [Lazarus] SdpoSerial port open problems

2011-02-10 Thread Bo Berglund
On Thu, 10 Feb 2011 09:15:09 +0100, Michael Schnell mschn...@lumino.de wrote: On 02/10/2011 12:53 AM, Bo Berglund wrote: 1) AP is very big and has way too many bells and whistles for me. I just want the RS232 communications running without any extras like TAPI, BBS:es etc... So just extract

Re: [Lazarus] SdpoSerial port open problems

2011-02-10 Thread Bo Berglund
On Thu, 10 Feb 2011 18:19:21 +, Paulo Costa p...@fe.up.pt wrote: On 10/02/2011 06:47, Bo Berglund wrote: Some questions: 1) How do I set the baudrate with this application? 2) What means Server and Client in the RS232 context? 3) Is there some form of use instruction too? I don't

Re: [Lazarus] SdpoSerial port open problems

2011-02-10 Thread Bo Berglund
in order to use it with lazarus. I realize that it would not work as a cross-platform unit but could be interesting for testing. In the end of course what I need to do is to get it working on the embedded ARM system with Linux. -- Bo Berglund Developer in Sweden

Re: [Lazarus] Identifier not found, but code completion works....

2011-02-11 Thread Bo Berglund
On Fri, 11 Feb 2011 08:39:18 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2011-02-11 00:41, Bo Berglund het geskryf: But TSerial is the class name for the component and it is found by lazarus when I write the code, so why in heavens name does it not find it when compiling

Re: [Lazarus] Identifier not found, but code completion works....

2011-02-11 Thread Bo Berglund
On Fri, 11 Feb 2011 09:20:25 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 10 Feb 2011 23:41:27 +0100 Bo Berglund bo.bergl...@gmail.com wrote: But TSerial is the class name for the component and it is found by lazarus when I write the code, so why in heavens name does

Re: [Lazarus] Identifier not found, but code completion works....

2011-02-12 Thread Bo Berglund
On Thu, 10 Feb 2011 23:41:27 +0100, Bo Berglund bo.bergl...@gmail.com wrote: unit1.pas(22,21) Error: Identifier not found TSerial I finally managed to get my file recognized by *both* lazarus and fpc. This is how: 1) In project inspector I *added* the Serial.pas file to the project. 2

Re: [Lazarus] SdpoSerial port open problems

2011-02-13 Thread Bo Berglund
On Thu, 10 Feb 2011 22:55:48 +0100, Bo Berglund bo.bergl...@gmail.com wrote: Dont know if its any help at all, but I am also having serial port problems using USB adaptors. ... Now I have problems with USB attached serial ports and lazarus programs using SdpoSerial as described in this thread

Re: [Lazarus] OpenGL conversion

2011-02-13 Thread Bo Berglund
/Lazarus support? http://wiki.lazarus.freepascal.org/GLScene -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-13 Thread Bo Berglund
the data to the SdpoSerial. What will happen if I have not set any buffer size (so they are at default values, whatever that is) and then use the method FComm.WriteData(cmd); with cmd being a string containing 1 Mbytes of data? (FComm is of course a TSdpoSerial instance) Bo Berglund

[Lazarus] Component rename in lazarus...

2011-02-14 Thread Bo Berglund
this happen in Lazarus? (I made a quick test but it did not work right off the bat at least) Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-14 Thread Bo Berglund
On Mon, 14 Feb 2011 11:29:06 +0100, Michael Schnell mschn...@lumino.de wrote: On 02/13/2011 11:15 PM, Bo Berglund wrote: In serial components I have used with Delphi before there was always a property to set the buffer sizes (both Tx and Rx). But I cannot find a way to do this with SdpoSerial

Re: [Lazarus] Component rename in lazarus...

2011-02-14 Thread Bo Berglund
On Mon, 14 Feb 2011 14:40:17 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 14 Feb 2011 13:06:50 +0100 Bo Berglund bo.bergl...@gmail.com wrote: By accident I just discovered a feature of Lazarus that I was not aware of: I had misnamed a component and wanted to correct it, so

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-14 Thread Bo Berglund
On Mon, 14 Feb 2011 13:00:36 -0500, waldo kitty wkitt...@windstream.net wrote: On 2/14/2011 11:32, Bo Berglund wrote: AFAICT SdpoSerial is a wrapper for the Synaser blocking serial component to make it more user friendly by providing receive events when data arrive. And my question is really

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-15 Thread Bo Berglund
On Tue, 15 Feb 2011 00:49:56 +, Paulo Costa p...@fe.up.pt wrote: On 14/02/2011 19:32, Bo Berglund wrote: First one thing, your message subject is too broad: Sorry about that, I just meant to ask about the way the Tx and Rx buffers are handled since I did not find any property for them

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-15 Thread Bo Berglund
application. But then we have the problem of transferring the Tx data into the thread environment in a threadsafe way... My project just grew. :-( Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-16 Thread Bo Berglund
On Wed, 16 Feb 2011 10:50:14 +0100, Michael Schnell mschn...@lumino.de wrote: On 02/14/2011 08:32 PM, Bo Berglund wrote: In a blocking design this wait loop would of course not have been needed becaus ethe Write would not return until all data have been written to the output. But here

[Lazarus] Size of program executable very big...

2011-02-16 Thread Bo Berglund
expected this size considering that the program contains so little yet... I use FPC 2.4.2 and Lazarus fixes_0_9_30 and SdpoSerial 0.1.4 on Windows XP. Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-17 Thread Bo Berglund
might even let the thread create the SdpoSerial object so it is only touched by the thread itself... But I don't know what would happen because the SdpoSerial object has internal threads of its own, I believe. -- Bo Berglund Developer in Sweden

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-17 Thread Bo Berglund
On Wed, 16 Feb 2011 12:07:28 +0100, José Mejuto joshy...@gmail.com wrote: Hello Lazarus-List, Wednesday, February 16, 2011, 10:59:02 AM, you wrote: MS On 02/15/2011 10:45 AM, Bo Berglund wrote: Does that mean that until all of the bytes have left the serial port the Write does not return

Re: [Lazarus] Size of program executable very big...

2011-02-17 Thread Bo Berglund
On Thu, 17 Feb 2011 00:36:48 +0100, Michael Schneider mic...@gmail.com wrote: Am Thursday 17 February 2011 00:21:25 schrieb Bo Berglund: I had not looked at the size before but now I see that the test executable is now 13 Mbytes! Is this normal? I would not have expected this size considering

Re: [Lazarus] Size of program executable very big...

2011-02-18 Thread Bo Berglund
has no impact and unchecking the -gl option only shaves of 6KB! That is probably what I will try tonight then. Seems reasonable to me. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-18 Thread Bo Berglund
On Fri, 18 Feb 2011 09:11:14 +0100, Michael Schnell mschn...@lumino.de wrote: On 02/17/2011 05:46 PM, Bo Berglund wrote: At least in the embedded world UART:s have *both* a transmit and receive FIFO. Same with PCs. And AFAIK, the OS-driver adds a huge Fifo buffer in both directions to allow

Re: [Lazarus] QR Code

2011-02-18 Thread Bo Berglund
format. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SdpoSerial Tx and Rx buffers?

2011-02-18 Thread Bo Berglund
On Fri, 18 Feb 2011 16:05:50 +0100, Michael Schnell mschn...@lumino.de wrote: On 02/18/2011 02:43 PM, Bo Berglund wrote: I have to somehow adapt to this fact and add a buffer layer myself in a thread that feeds data to the WriteData method. That is why I suggested that the best way to go

Re: [Lazarus] Size of program executable very big...

2011-02-18 Thread Bo Berglund
On Fri, 18 Feb 2011 14:35:31 +0100, Bo Berglund bo.bergl...@gmail.com wrote: On Fri, 18 Feb 2011 13:37:39 +0200, Paul van Helden p...@planetgis.co.za wrote: The Use external gdb debug symbol file (-Xg) linking option works well for me. It creates a 30MB .dbg file and a 5.4MB executable for my

Re: [Lazarus] Identifier not found, but code completion works....

2011-02-19 Thread Bo Berglund
On Fri, 11 Feb 2011 15:30:48 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 11 Feb 2011 09:20:25 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 10 Feb 2011 23:41:27 +0100 Bo Berglund bo.bergl...@gmail.com wrote: I am testing an old Delphi communications

Re: [Lazarus] Testing 0.9.29

2011-02-19 Thread Bo Berglund
a previous Lazarus version handy so I can't say if this is old... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Testing 0.9.29

2011-02-19 Thread Bo Berglund
=false (because it does not sense the change in akRight) Only now does the label behave as wanted. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Testing 0.9.29

2011-02-19 Thread Bo Berglund
of the taRightAligned text *always* stays visible, the left end is truncated (if the Autosize property is false). -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] Portable way to get accurate timestamps?

2011-02-20 Thread Bo Berglund
then and thus about 3.500.000.000 seconds. So the double resolution should get a bit into the decimals of a second. But how many accurate decimals can be expected? Can I reach millisecond accuracy? If so, which would be the better way? -- Bo Berglund Developer in Sweden

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-20 Thread Bo Berglund
on Windows, which is more accurate, but I am not sure how to use it and if it exists on Linux... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Testing 0.9.29

2011-02-20 Thread Bo Berglund
On Sun, 20 Feb 2011 00:02:51 +0100, Hans-Peter Diettrich drdiettri...@aol.com wrote: Bo Berglund schrieb: On Sat, 19 Feb 2011 16:27:30 +0100, Hans-Peter Diettrich drdiettri...@aol.com wrote: There exist more issues, e.g. right aligned text may be truncated at the right, when the Width

Re: [Lazarus] Testing 0.9.29

2011-02-20 Thread Bo Berglund
automatically change the Anchors? tested with turbo delphi. No the anchor is not changed. But to complete this = the labels Left property changes to reflect the new position Testing with Delphi7: Yes the Left property changes when the text is changed. -- Bo Berglund Developer in Sweden

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-20 Thread Bo Berglund
On Sun, 20 Feb 2011 20:07:32 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Sun, 2011-02-20 at 12:42 +0100, Bo Berglund wrote: In fact I am interested mainly in the time *difference* between successive measured data points. You can try EpicTimer too. It's only a single unit, easy

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-20 Thread Bo Berglund
On Sun, 20 Feb 2011 22:16:25 -0500, waldo kitty wkitt...@windstream.net wrote: On 2/20/2011 08:46, Luca Olivetti wrote: Al 20/02/11 12:42, En/na Bo Berglund ha escrit: I wonder if GetTickCount will get me a better value to milliseconds than Now()? Not under linux: function GetTickCount

Re: [Lazarus] Identifier not found, but code completion works....

2011-02-20 Thread Bo Berglund
On Mon, 21 Feb 2011 08:39:05 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2011-02-19 16:11, Bo Berglund het geskryf: Is this bad practice with FPC/Lazarus? I don't think so. At least in my FPC-base programs I have always preferred putting things first in the implementation uses

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-21 Thread Bo Berglund
On Mon, 21 Feb 2011 07:23:54 +0100, Bo Berglund bo.bergl...@gmail.com wrote: When I run a test against a fairly accurate GPS time source I see that there is an uncertainty of about 16 ms in the time given such that if GetTickCount is executed at exactly 1 second intervals the last two digits

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-22 Thread Bo Berglund
an Identifier not found error (not surprising). What should I do in order to get this to compile? Any suitable unit to add to the uses clause? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-22 Thread Bo Berglund
periods. I took steps to make the calculations less vulnerable to resolution issues by first snatching a counter value and then for all subsequent calculations I subtracted this from what I read before switching to double precision arithmetic. Have to look elsewhere. -- Bo Berglund Developer

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-23 Thread Bo Berglund
On Wed, 23 Feb 2011 09:50:26 +0100, Sven Barth pascaldra...@googlemail.com wrote: Am 22.02.2011 16:02, schrieb Bo Berglund: Have to look elsewhere. The only really usable solution might be to attach an external time source to your PC and use that time signal. I don't know of a suitable

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-23 Thread Bo Berglund
for testing. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-24 Thread Bo Berglund
... But then I can get microsecond synchronism or close to it. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-25 Thread Bo Berglund
On Thu, 24 Feb 2011 13:17:25 +0100, Michael Schnell mschn...@lumino.de wrote: On 02/24/2011 12:58 PM, Bo Berglund wrote: It seems like I am out of luck doing this with readily available hardware such as PC:s, notebooks or embedded linux cards running software IMHO, the _Hardware_

[Lazarus] Causing bluescreen on windows by move() procedure

2011-02-26 Thread Bo Berglund
byte array is used as a buffer and data are moved using the Move function. In all of my programming with Delphi I have never managed to make a programming error that consistently bluescreens the PC. -- Bo Berglund Developer in Sweden -- ___ Lazarus

Re: [Lazarus] Causing bluescreen on windows by move() procedure

2011-02-26 Thread Bo Berglund
baudrate bu the source sends a lot of data at a much lower baudrate? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Causing bluescreen on windows by move() procedure

2011-02-26 Thread Bo Berglund
On Sat, 26 Feb 2011 18:26:33 +0300, Sergei Gorelkin sergei_gorel...@mail.ru wrote: Bo Berglund wrote: So it could be the Prolific USB-to-Serial driver then maybe? For example if the port is opened at one baudrate bu the source sends a lot of data at a much lower baudrate? It is hard

Re: [Lazarus] Causing bluescreen on windows by move() procedure

2011-02-26 Thread Bo Berglund
On Sat, 26 Feb 2011 19:29:48 +0100, Hans-Peter Diettrich drdiettri...@aol.com wrote: Bo Berglund schrieb: So it could be the Prolific USB-to-Serial driver then maybe? Very likely :-( BTW, is that a MS-certified driver? I think so, in fact Windows Update found a Prolific driver by itself

Re: [Lazarus] Causing bluescreen on windows by move() procedure

2011-02-27 Thread Bo Berglund
On Sat, 26 Feb 2011 21:06:32 -0500, waldo kitty wkitt...@windstream.net wrote: On 2/26/2011 14:24, Bo Berglund wrote: On Sat, 26 Feb 2011 19:29:48 +0100, Hans-Peter Diettrich drdiettri...@aol.com wrote: Bo Berglund schrieb: So it could be the Prolific USB-to-Serial driver then maybe

[Lazarus] Accessing USB HID from Lazarus programs?

2011-03-20 Thread Bo Berglund
good examples on how to access the USB HID device Can someone here please provide some help, links to code examples or similar? Or is this OT for this list since it is basically a hardware access question? -- Bo Berglund Developer in Sweden

[Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-10 Thread Bo Berglund
10)? Compare to Delphi7 where there is a single minimize to use to get rid of all Delphi windows and a single Delphi task bnar button to restore *all* buttons. Maybe there is a setting somewhere to handle this? If so please tell me where it is. -- Bo Berglund Developer in Sweden

[Lazarus] Console application does not close cleanly!

2011-04-10 Thread Bo Berglund
, the file is parsed and the result is written, yet I get the exception. Can someone please explain this? -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Bo Berglund
On Sun, 10 Apr 2011 23:29:15 +0300, ik ido...@gmail.com wrote: Please see answer inline. On Sun, Apr 10, 2011 at 22:08, Bo Berglund bo.bergl...@gmail.com wrote: I was using Lazarus to create a console application for parsing out data from a network speed test program. When doing this I had

Re: [Lazarus] Console application does not close cleanly!

2011-04-12 Thread Bo Berglund
twice is not such a good idea -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Bo Berglund
On Sun, 10 Apr 2011 23:29:15 +0300, ik ido...@gmail.com wrote: Please see answer inline. On Sun, Apr 10, 2011 at 22:08, Bo Berglund bo.bergl...@gmail.com wrote: I was using Lazarus to create a console application for parsing out data from a network speed test program. When doing this I had

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Bo Berglund
On Mon, 11 Apr 2011 08:13:31 +0200, zeljko zel...@holobit.net wrote: On Sunday 10 of April 2011 21:08:30 Bo Berglund wrote: Maybe there is a setting somewhere to handle this? If so please tell me where it is. Tools-Options-Environment-Window- [x] Show single button in TaskBar

Re: [Lazarus] QR Code

2011-05-13 Thread Bo Berglund
*generator*? I have been trawling the web for OP/Delphi/FPC gereation code unsuccessfully... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] QR Code

2011-05-13 Thread Bo Berglund
in JavaScript. http://en.sourceforge.jp/projects/jpqr/devel/ Yes, but it is a decoder rather than a coder... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] QR Code

2011-05-16 Thread Bo Berglund
On Fri, 13 May 2011 15:09:11 +0200, Bo Berglund bo.bergl...@gmail.com wrote: On Fri, 13 May 2011 08:10:36 -0300, silvioprog silviop...@gmail.com wrote: 2011/5/13 Juha (gmail) juha.mannine...@gmail.com: How about converting from Java? There was a Java version , right? Java is easier to port

Re: [Lazarus] QR Code

2011-05-16 Thread Bo Berglund
++) but they operate with the Qt graphics library so I guess there is a bit of a hurdle converting to native FPC... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
I am new to this list and I would like to get advice on the capabilities of Lazarus. My background is 15 years of Delphi programming (almost all versions Delphi1 to BDS2006). For the upcoming project I want to keep using Pascal if possible rather than learn and get productive in Java So:

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
On Sat, 25 Sep 2010 11:43:35 +0200 (CEST), Michael Van Canneyt mich...@freepascal.org wrote: 1) Can I work in Windows or Ubuntu on the same project? I.e. are there differences in the IDE/compiler between the two work environments? No. Linking is slightly slower on windows. What I really

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
data, it just looks like a collection of procedures... Is there not an object oriented type of serial communications container for Lazarus? -- Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
install lazarus all one need to do to get it on Ubuntu or is there a more complex method required? Bo Berglund -Original Message- From: Paul Breneman [mailto:list2...@brenemanlabs.com] Sent: Saturday, September 25, 2010 6:17 PM To: Lazarus mailing list Subject: Re: [Lazarus] Using Lazarus

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-26 Thread Bo Berglund
I've also replied to you FPC mailing list messages. This won't answer all of your questions but I hope it will help: http://www.turbocontrol.com/embeddedfreepascal.htm Wow! This looks exactly like the product I have been looking around for! Except their datasheet links are broken so I cannot

[Lazarus] Lazarus and FPC versions for Ubuntu 10?

2010-09-26 Thread Bo Berglund
way to get the right versions. Please suggest the best way to proceed. -- Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Posting to the list via the Gmane news gateway???

2010-09-26 Thread Bo Berglund
, but since my email program is Outlook 2003 it is not really suited to list communications and all the trafic here fills up my inbox too much too. Grateful for any hints/advice on this! -- Bo Berglund -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Posting to the list via the Gmane news gateway???

2010-09-27 Thread Bo Berglund
On Mon, Sep 27, 2010 at 11:09 AM, Lukasz Sokol el.es...@gmail.com wrote: On 27/09/2010 07:41, Graeme Geldenhuys wrote: On 27 September 2010 07:10, Bo Berglund bo.bergl...@gmail.com wrote: I would very much prefer to interact with the Lazarus mail list via a news interface and Gmane has

Re: [Lazarus] Posting to the list via the Gmane news gateway???

2010-09-27 Thread Bo Berglund
On Mon, Sep 27, 2010 at 12:11 PM, Lukasz Sokol el.es...@gmail.com wrote: On 27/09/2010 10:38, Bo Berglund wrote: On Mon, Sep 27, 2010 at 11:09 AM, Lukasz Sokol el.es...@gmail.com wrote: [...] I post messages using my subscription to the mailing list via email, and read them using gmane

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-27 Thread Bo Berglund
a flash card that comes with a specification how long power needs to be supplied after a write access to prevent data loss. -Michael I intended to use SD-card for external data storage and an SSD for the operating system internally. Both essentially flash devices. Bo Berglund (I tried

Re: [Lazarus] Posting to the list via the Gmane news gateway???

2010-09-27 Thread Bo Berglund
account. Both receive GMANE authorization requests which I reply to and nothing appears anyway. Really no good. Bo Berglund Ppfont face=Arial, Helvetica, sans-serif size=2 style=font-size:13.5px___BRHitta kärleken med hjälp av vårt

Re: [Lazarus] Posting to the list via the Gmane news gateway???

2010-09-27 Thread Bo Berglund
2010/9/27 Graeme Geldenhuys graemeg.li...@gmail.com: 2010/9/27 Bo Berglund bobergl...@home.se: No, but this is what I am asking for. It is extremely annoying that the lazarus and fpc newsgroups are the only I cannot post to via GMANE no matter which email account I use I have tried my

Re: [Lazarus] Posting to the list via the Gmane news gateway???

2010-09-27 Thread Bo Berglund
On 9/27/2010 05:38, Bo Berglund wrote: On Mon, Sep 27, 2010 at 11:09 AM, Lukasz Sokolel.es...@gmail.com wrote: Posting via nntp on gmane has proven to be problematic (with the gmail = googlemail duality - gmane converted @gmail to @googlemail (or v/v) and the mailing list did not tolerate

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-27 Thread Bo Berglund
From: Paul Breneman [mailto:list2...@brenemanlabs.com] Sent: Tuesday, September 28, 2010 1:24 AM Hi Michael, ... I intend to port Async Pro to Lazarus/Linux/ARM, once we start working on the project (which we are raving about since years, so don't hold your breath ;) ) I've spent many

[Lazarus] Configuration data in Linux?

2010-09-28 Thread Bo Berglund
file? - Where is the agreed location for such data? - And in fact where is the agreed location for the programs themselves? -- Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Configuration data in Linux?

2010-09-28 Thread Bo Berglund
From: Mark Morgan Lloyd [mailto:markmll.laza...@telemetry.co.uk] Sent: Tuesday, September 28, 2010 11:05 AM Bo Berglund wrote: So I could create an IniFile class Better to use the existing one :-) If course! I just assumed that since IniFiles on Windows are handled by API calls and all API

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-28 Thread Bo Berglund
-Original Message- From: Henry Vermaak [mailto:henry.verm...@gmail.com] Sent: Tuesday, September 28, 2010 11:57 AM On 28/09/10 10:18, Michael Schnell wrote: Independent from the kind of the hardware interface to the card, the problem is that ... snip ... These are corner

[Lazarus] Serial communication??

2010-09-28 Thread Bo Berglund
I can get a list of valid ports for the user to select from. Is there some way also in Linux using FPC? Best regards, Bo Berglund -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Serial communication??

2010-09-28 Thread Bo Berglund
On Tue, Sep 28, 2010 at 9:08 PM, Bo Berglund bo.bergl...@gmail.com wrote: 1) Is serial communication with events not possible in FPC on Linux? Of course it is possible. You just have to write your own library to do it. One possibility would be adapting lNet, like Synaser adapts Synapse

Re: [Lazarus] Serial communication??

2010-09-28 Thread Bo Berglund
On Tue, Sep 28, 2010 at 10:18 PM, Bo Berglund bo.bergl...@gmail.com wrote: Where is the timeout? Here is the serial.SerRead function: Try RecvByte I cannot see that in the serial.pp file that is part of the Lazarus install I did in Ubuntu. I just used the Synapse Package Manager

Re: [Lazarus] Getting rid of bogus form

2010-09-28 Thread Bo Berglund
Bo Berglundbo.bergl...@gmail.com wrote: I made a mistake when trying out Lazarus for the first time I deleted the whole project and started fresh (after moving my comport unit) and now I'm OK. Why struggle to understand when it is possible to just fix the problem? -- Bo B --

Re: [Lazarus] Serial communication??

2010-09-28 Thread Bo Berglund
Graeme Geldenhuys wrote: On 28 September 2010 21:50, steveg ste...@nevets.com.au wrote: Quickest way I have found is to enumerate the device files in /dev extracting all 'ttyxx' (comports) and 'ttyU' (usb ports). This gives a list of 'probables'. Then try to connect (using SynaSer for

Re: [Lazarus] Serial communication??

2010-09-29 Thread Bo Berglund
On Wed, Sep 29, 2010 at 9:21 AM, Roberto Padovani padovan...@gmail.com wrote: I use threaded and event-driven serial port communication all day with FPC and I did not have to write anything. Have a look at the great CPortLaz library http://sourceforge.net/projects/cportlaz/ It also has a

Re: [Lazarus] Where to set project search paths in lazarus?

2010-09-29 Thread Bo Berglund
From: Vincent Snijders [mailto:vincent.snijd...@gmail.com] Sent: Wednesday, September 29, 2010 8:59 PM 2010/9/29 Bo Berglund bo.bergl...@gmail.com: I tried to find the equivalent of Project Search path in Lazarus but found only FPDoc files path in the project properties so How

  1   2   3   4   5   6   >