[Lazarus] Creating TProcess from within a TThread

2015-04-28 Thread Richard Mace
Hi, I am currently working on a project that will need to use multiple threads which will each need to create their own TProcess. Is this possible as when I attempt it at the moment, tprocess requires a tcomponent when created? Thanks Richard -- ___

Re: [Lazarus] GDB problem ?

2015-04-28 Thread Martin Frb
On 28/04/2015 10:23, Michael Van Canneyt wrote: Hi, All of a sudden (no idea why), gdb stopped working on a particular program I was working on. I found the following error in the debug output: (gdb) =thread-exited,id=1,group-id=i1 =thread-group-exited,id=i1 ^error,msg=During startup

Re: [Lazarus] Error: Duplicate identifier $ansistrrec18

2015-04-28 Thread Leonardo M. Ramé
El 28/04/15 a las 07:16, Leonardo M. Ramé escibió: Hi, I'm trying to build a CGI program using BrookFramework in FPC 3.1.1 and Lazarus compiled today but I'm getting this error: Error: Duplicate identifier $ansistrrec18 That identifier of course is not a variable, nor unit name, and it can't

Re: [Lazarus] Creating TProcess from within a TThread

2015-04-28 Thread Richard Mace
Thanks Mattias, I should have guessed that Richard On 28 Apr 2015 13:14, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 28 Apr 2015 13:10:33 +0100 Richard Mace richard.m...@gmail.com wrote: Hi, I am currently working on a project that will need to use multiple threads which

Re: [Lazarus] GDB problem ?

2015-04-28 Thread Martin Frb
Well I dont get the issue myself, so I canonly give generic advice. To try and trace the problem, since it seems only when called by the IDE: Open the Debug Output window, and see all the commands the IDE sent. Start gdb gdb -i mi And repeat the commands. That should get you the error. Now

Re: [Lazarus] How to get a longer stacktrace

2015-04-28 Thread Sven Barth
Am 28.04.2015 13:06 schrieb Torsten Bonde Christiansen t...@epidata.info: Hi. I am currently doing some debugging in Windows, my least used OS - so bear with me for dumb questions... :) Very simply i would like to have a longer stacktrace than what I am currently getting (see picture below).

Re: [Lazarus] GDB problem ?

2015-04-28 Thread Den
I've been having this problem on my Game Project for the longest time! .. Same error.. Just started happening one day. I had wrote a message one time about it on this list, remember Martin? - Dennis On 2015-04-28 04:23 AM, Michael Van Canneyt wrote: Hi, All of a sudden (no idea why), gdb

[Lazarus] How to get a longer stacktrace

2015-04-28 Thread Torsten Bonde Christiansen
Hi. I am currently doing some debugging in Windows, my least used OS - so bear with me for dumb questions... :) Very simply i would like to have a longer stacktrace than what I am currently getting (see picture below). For some reason i cannot go deeper than displayed and I would really like

Re: [Lazarus] Creating TProcess from within a TThread

2015-04-28 Thread Michael Van Canneyt
On Tue, 28 Apr 2015, Richard Mace wrote: Hi, I am currently working on a project that will need to use multiple threads which will each need to create their own TProcess. Is this possible as when I attempt it at the moment, tprocess requires a tcomponent when created? Just pass Nil as

Re: [Lazarus] Creating TProcess from within a TThread

2015-04-28 Thread Mattias Gaertner
On Tue, 28 Apr 2015 13:10:33 +0100 Richard Mace richard.m...@gmail.com wrote: Hi, I am currently working on a project that will need to use multiple threads which will each need to create their own TProcess. Is this possible as when I attempt it at the moment, tprocess requires a

Re: [Lazarus] Error: Duplicate identifier $ansistrrec18

2015-04-28 Thread Sven Barth
Am 28.04.2015 13:49 schrieb Leonardo M. Ramé l.r...@griensu.com: El 28/04/15 a las 07:16, Leonardo M. Ramé escibió: Hi, I'm trying to build a CGI program using BrookFramework in FPC 3.1.1 and Lazarus compiled today but I'm getting this error: Error: Duplicate identifier $ansistrrec18 That

[Lazarus] Two stage shortcuts question

2015-04-28 Thread Vojtěch Čihák
Hi,   how are invented two-stage shortcuts?   I made a macro (project related, i.e. saved in project session) and I assigned shortcut CTRL+M, CTRL+J. It worked for a while.   Now when I try it, CTRL+M  does nothing (OK), and CTRL+J does not write any text but Template Completion window is opened

Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Vojtěch Čihák
Thanks,   I checked CTRL+M, it is assigned to many macros, CTRL+M,L or CTRL+M, CTRL+L (i.e. some of them has CTRL in the second stage, others not). All those macros works.   I tried to restart Lazarus, no effect.   I tried to change the macro from CTRL+M,CTRL+J to CTRL+M,J. After this change,

[Lazarus] Project Improvement Help - YANA(Yet Another Network Analyzer)

2015-04-28 Thread Euller Pereira
Hello, I'm an academic student from Brazil, and I have a project of updating and porting to Linux an application called YANA(Yet Another Network Analyzer). You can find it on the following link: http://sourceforge.net/projects/yana/. The latest version was written using Lazarus 0.9.22 and

Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Martin Frb
Can you report an issue on the bugtracker please? On 28/04/2015 17:24, Vojtěch Čihák wrote: Thanks, I checked CTRL+M, it is assigned to many macros, CTRL+M,L or CTRL+M, CTRL+L (i.e. some of them has CTRL in the second stage, others not). All those macros works. I tried to restart

Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Vojtěch Čihák
I opened issue    http://bugs.freepascal.org/view.php?id=27992 __ Od: Martin Frb laza...@mfriebe.de Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 28.04.2015 19:40 Předmět: Re: [Lazarus] Two stage shortcuts

[Lazarus] Error: Duplicate identifier $ansistrrec18

2015-04-28 Thread Leonardo M. Ramé
Hi, I'm trying to build a CGI program using BrookFramework in FPC 3.1.1 and Lazarus compiled today but I'm getting this error: Error: Duplicate identifier $ansistrrec18 That identifier of course is not a variable, nor unit name, and it can't be found in any of the used files. Any hint?.

Re: [Lazarus] GDB problem ?

2015-04-28 Thread Graeme Geldenhuys
On 2015-04-28 10:23, Michael Van Canneyt wrote: Restarting IDE, debugger: none of that helped. Call it coincidence, but I've yesterday had some GDB issues via the IDE too. I switched to the fpdebugger and could continue again without problems. You could possibly try that as a work-around. I

[Lazarus] GDB problem ?

2015-04-28 Thread Michael Van Canneyt
Hi, All of a sudden (no idea why), gdb stopped working on a particular program I was working on. I found the following error in the debug output: (gdb) =thread-exited,id=1,group-id=i1 =thread-group-exited,id=i1 ^error,msg=During startup program exited with code 1. (gdb) Impossible to

Re: [Lazarus] GDB problem ?

2015-04-28 Thread Michael Van Canneyt
On Tue, 28 Apr 2015, Martin Frb wrote: On 28/04/2015 10:23, Michael Van Canneyt wrote: Hi, All of a sudden (no idea why), gdb stopped working on a particular program I was working on. I found the following error in the debug output: (gdb) =thread-exited,id=1,group-id=i1

Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Martin Frb
On 28/04/2015 16:33, Vojtěch Čihák wrote: Hi, how are invented two-stage shortcuts? I made a macro (project related, i.e. saved in project session) and I assigned shortcut CTRL+M, CTRL+J. It worked for a while. Now when I try it, CTRL+M does nothing (OK), and CTRL+J does not write any