Re: [Lazarus] Launching process from ServiceDaemon fails under Ubuntu x64 11.10+

2012-03-07 Thread michael . vancanneyt
On Tue, 6 Mar 2012, Andrew Brunner wrote: Up until a few days ago I was using my service daemon app (X) to launch a console application (Y) worked flawlessly. The service daemon monitors for crashes and scale and can create instances at runtime. I did a trunk update to both FPC and Lazarus

Re: [Lazarus] Launching process from ServiceDaemon fails under Ubuntu x64 11.10+

2012-03-07 Thread Mattias Gaertner
On Wed, 7 Mar 2012 09:01:57 +0100 (CET) michael.vancann...@wisa.be wrote: On Tue, 6 Mar 2012, Andrew Brunner wrote: Up until a few days ago I was using my service daemon app (X) to launch a console application (Y) worked flawlessly. The service daemon monitors for crashes and scale

Re: [Lazarus] Access violation in build_lcl_docs --outfmt chm

2012-03-07 Thread Mattias Gaertner
On Tue, 06 Mar 2012 22:23:07 -0500 Andrew Haines andrewd...@aol.com wrote: On 03/01/12 18:15, Andrew Haines wrote: On 03/01/12 13:51, Mattias Gaertner wrote: On Thu, 01 Mar 2012 17:31:47 +0100 Thomas Moritz thm...@thmoritz.de wrote: Hello, this is the output: HTML Files

Re: [Lazarus] Lazarus 0.9.30.4 release candidate 1 available for download

2012-03-07 Thread Miquel Bruns
this error when compile: C:\lazarus\lcl\masks.pas(29,22) Fatal: Can't find unit contnrs used by Masks I found a possible cause. Please test with tomorrow's snapshot of 0.9.30.3 or with the upcoming 0.9.30.4RC2. Vincent Lazarus-0.9.30.3-35789-fpc-2.6.0-20120307-win32 seems runs nicely

[Lazarus] [ot] Re: upx dont work

2012-03-07 Thread Lukasz Sokol
On 06/03/2012 16:38, Bernd wrote: 2012/2/28 Ing. Héctor F. Fiandor Rosario hfian...@infomed.sld.cu: when i tried to execute, a message appears telling the configuration is not good and maybe reinstalling the application can work. I don't know what the concrete problem with upx is but the

Re: [Lazarus] Launching process from ServiceDaemon fails under Ubuntu x64 11.10+

2012-03-07 Thread Andrew Brunner
You should not include this unit. That's an error. Ok. It means you have a LCL component somewhere in your app, that's what's causing this. Ok. But everything was completely fine until the latest svn update. While there is no widget components created some obscure unit may tap into an

Re: [Lazarus] Launching process from ServiceDaemon fails under Ubuntu x64 11.10+

2012-03-07 Thread Sven Barth
Am 07.03.2012 15:12, schrieb Andrew Brunner: The widgetset independent parts have been moved to a package of its own: LazUtils. Open the project inspector and replace the dependency LCL with LazUtils. Do the same for any of your packages that works without gui. Ok, I just

Re: [Lazarus] Launching process from ServiceDaemon fails under Ubuntu x64 11.10+

2012-03-07 Thread Mattias Gaertner
Andrew Brunner andrew.t.brun...@gmail.com hat am 7. März 2012 um 15:12 geschrieben: [...] Ok, I just replaced LCL dependency with LazUtils and it compiled and works just like before! Thanks. I recommend that you make sure that when a new project is created it uses LazUtils as a dependency

[Lazarus] How to get external FileVersion

2012-03-07 Thread Kjow
Hi all, I need to get the build number of an external program, but I don't know how to do. vinfo.pas method (http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-July/054335.html) works very well for the program itself... but how can I read the build number of an other file exe? Thank

Re: [Lazarus] [ot] Re: upx dont work

2012-03-07 Thread Alexsander Rosa
A famous one in brazilian portuguese: http://img205.imageshack.us/img205/351/win2000errorph2.jpg Probably something like Can't find some shared folder. Check the spelling and try again, etc in the original. Spelling = Ortografia. The message uses the word orografia, without the T, that exists but

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Antonio Fortuny
works for Windows, not yet rewritten for LINUX. function ReadVersionInfo(const sProgram: string; Out vv: PTVersion) :Boolean; var Info: PVSFixedFileInfo; InfoSize: Cardinal; nHwnd: DWORD; BufferSize: DWORD; Buffer: Pointer; begin ZeroMemory(Info,

[Lazarus] Multiple installations of Lazarus

2012-03-07 Thread Richard Mace
Hi All, Is it possible to have more than one installation of Lazarus, in multiple directories? I am effectively thinking of having as follows: c:\lazarus (this will be the latest stable release) c:\lazarus-svn (this will be the latest svn update) Is it simply ok to have the above, or is there

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Kjow
2012/3/7 Antonio Fortuny a.fort...@sitasoftware.lu: works for Windows, not yet rewritten for LINUX. Thank you! Unfortunately I need a cross-platform solution. Kjow -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Multiple installations of Lazarus

2012-03-07 Thread Mattias Gaertner
Richard Mace richard.m...@gmail.com hat am 7. März 2012 um 16:03 geschrieben: Hi All, Is it possible to have more than one installation of Lazarus, in multiple directories? I am effectively thinking of having as follows: c:\lazarus (this will be the latest stable release) c:\lazarus-svn

Re: [Lazarus] Multiple installations of Lazarus

2012-03-07 Thread Richard Mace
2012/3/7 Mattias Gaertner nc-gaert...@netcologne.de ** Richard Mace richard.m...@gmail.com hat am 7. März 2012 um 16:03 geschrieben: Hi All, Is it possible to have more than one installation of Lazarus, in multiple directories? I am effectively thinking of having as follows:

[Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-07 Thread Vincent Snijders
The Lazarus team is happy to announce that Lazarus 0.9.30.4RC2 is available for download from: http://sourceforge.net/projects/lazarus/files/ Choose your CPU / OS / distro and then the 0.9.30.4RC2 directory. The Lazarus testing repository at

Re: [Lazarus] Multiple installations of Lazarus

2012-03-07 Thread Richard Mace
2012/3/7 Mattias Gaertner nc-gaert...@netcologne.de ** Richard Mace richard.m...@gmail.com hat am 7. März 2012 um 16:03 geschrieben: Hi All, Is it possible to have more than one installation of Lazarus, in multiple directories? I am effectively thinking of having as follows:

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread michael . vancanneyt
On Wed, 7 Mar 2012, Kjow wrote: 2012/3/7 Antonio Fortuny a.fort...@sitasoftware.lu: works for Windows, not yet rewritten for LINUX. Thank you! Unfortunately I need a cross-platform solution. Kjow The below unit does what you need. It can be made more simple, I still need to include the

Re: [Lazarus] Multiple installations of Lazarus

2012-03-07 Thread Sven Barth
Am 07.03.2012 16:48, schrieb Richard Mace: 2012/3/7 Mattias Gaertner nc-gaert...@netcologne.de mailto:nc-gaert...@netcologne.de __ Richard Mace richard.m...@gmail.com mailto:richard.m...@gmail.com hat am 7. März 2012 um 16:03 geschrieben: Hi All, Is it

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Kjow
2012/3/7 michael.vancann...@wisa.be: The below unit does what you need. It can be made more simple, I still need to include the unix code in the fileinfo unit. Michael. unit getvers; Thank you, but your unit extracts the build number from the same program where it's included, right? I

Re: [Lazarus] Multiple installations of Lazarus

2012-03-07 Thread Hans-Peter Diettrich
Richard Mace schrieb: A further question Mattias, if I just run the individual lazarus.exe file in it's corresponding directory, I presume that would also be fine. Although, I appreciate that I would have 2 completely seperate sets of settings. Create a desktop icon for every version, and

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Kjow
2012/3/7 Kjow antispamm...@gmail.com: 2012/3/7  michael.vancann...@wisa.be: The below unit does what you need. It can be made more simple, I still need to include the unix code in the fileinfo unit. Michael. unit getvers; Thank you, but your unit extracts the build number from the same

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Hans-Peter Diettrich
Kjow schrieb: I need to extract the build number from an other file (like 'C:\test.exe' ). Are you sure that your other platforms support a standardized version information in their binaries? DoDi -- ___ Lazarus mailing list

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Kjow
2012/3/7 Hans-Peter Diettrich drdiettri...@aol.com: Kjow schrieb: Are you sure that your other platforms support a standardized version information in their binaries? DoDi It's my first experience about managing file version numbering, do linux and mac support it? Thank you, Kjow --

Re: [Lazarus] Multiple installations of Lazarus

2012-03-07 Thread Mark Morgan Lloyd
Sven Barth wrote: A further question Mattias, if I just run the individual lazarus.exe file in it's corresponding directory, I presume that would also be fine. Although, I appreciate that I would have 2 completely seperate sets of settings. Without any parameters the settings are saved in

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Michael Van Canneyt
On Wed, 7 Mar 2012, Kjow wrote: 2012/3/7 michael.vancann...@wisa.be: The below unit does what you need. It can be made more simple, I still need to include the unix code in the fileinfo unit. Michael. unit getvers; Thank you, but your unit extracts the build number from the same

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Michael Van Canneyt
On Wed, 7 Mar 2012, Kjow wrote: 2012/3/7 Kjow antispamm...@gmail.com: 2012/3/7  michael.vancann...@wisa.be: The below unit does what you need. It can be made more simple, I still need to include the unix code in the fileinfo unit. Michael. unit getvers; Thank you, but your unit

Re: [Lazarus] JEDI format and UNDO

2012-03-07 Thread Zaher Dirkey
On Wed, Mar 7, 2012 at 4:52 AM, Paul Ishenin i...@kmiac.ru wrote: 06.03.2012 20:32, Zaher Dirkey пишет: Hi, Ctrl+D make format for my code. But when make Ctrl+Z it make strange undo, it is undo line by line that can make the code corrupted. Yes it is work, thanks, but i see the

[Lazarus] Hints in debugging

2012-03-07 Thread Richard Mace
Hi, I have the following code, with a break point on if for debugging: oUser.Id := fSQLQuery.Fields[0].AsInteger; When I highlight the Id part of oUser, I get an error, however, when I highlight oUser, I get a breakdown of all of the parameters, including the Id. Any ideas? Richard --

Re: [Lazarus] Options dialog filter

2012-03-07 Thread William Oliveira Ferreira
Juha, great work with this filter! it will help a lot! 2012/3/6 Sven Barth pascaldra...@googlemail.com Am 06.03.2012 15:02, schrieb Martin: On 06/03/2012 12:25, Sven Barth wrote: Am 06.03.2012 11:45, schrieb Paul Ishenin: 06.03.12 18:30, Juha Manninen пишет: I don't know if the color

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-07 Thread Mark Morgan Lloyd
Vincent Snijders wrote: The Lazarus team is happy to announce that Lazarus 0.9.30.4RC2 is available for download from: http://sourceforge.net/projects/lazarus/files/ Choose your CPU / OS / distro and then the 0.9.30.4RC2 directory. The Lazarus testing repository at

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread Kjow
2012/3/7 Michael Van Canneyt mich...@freepascal.org: Are you sure this program has version info ? On windows, the standard windows call is used to extract the info. Michael. I found the issue: if ProductVersion is setted, the procedure reads info here, else the procedure reads info from

Re: [Lazarus] JEDI format and UNDO

2012-03-07 Thread Martin
On 07/03/2012 19:08, Zaher Dirkey wrote: On Wed, Mar 7, 2012 at 4:52 AM, Paul Ishenin i...@kmiac.ru mailto:i...@kmiac.ru wrote: 06.03.2012 20:32, Zaher Dirkey ?: Hi, Ctrl+D make format for my code. But when make Ctrl+Z it make strange undo, it is undo line

Re: [Lazarus] Hints in debugging

2012-03-07 Thread Martin
On 07/03/2012 19:09, Richard Mace wrote: Hi, I have the following code, with a break point on if for debugging: oUser.Id := fSQLQuery.Fields[0].AsInteger; When I highlight the Id part of oUser, I get an error, however, when I highlight oUser, I get a breakdown of all of the parameters,

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-07 Thread Vincent Snijders
Op 7 maart 2012 20:26 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Vincent Snijders wrote: What's that from SVN? Some of the naming's beginning to look a bit ragged. The release has been build from this branch: branches/release_0_9_30_4/ .. The successful

Re: [Lazarus] Adding packages at build time

2012-03-07 Thread waldo kitty
On 3/5/2012 05:42, Mattias Gaertner wrote: No. There is currently no command line tool to change the list of install packages. lazbuild takes the list from the same place as the IDE - your config directory. The parameter --build-ide takes additional compiler options. Like debugger settings,

Re: [Lazarus] JEDI format and UNDO

2012-03-07 Thread Zaher Dirkey
2012/3/7 Martin laza...@mfriebe.de try 35809, I added missing Begin/EndUpdate calls Yes, tested, more fast, thanks :D Thanks you all Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-07 Thread Mark Morgan Lloyd
Vincent Snijders wrote: Op 7 maart 2012 20:26 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Vincent Snijders wrote: What's that from SVN? Some of the naming's beginning to look a bit ragged. The release has been build from this branch:

Re: [Lazarus] Options dialog filter

2012-03-07 Thread Juha Manninen
2012/3/7 William Oliveira Ferreira bdexterholl...@gmail.com Juha, great work with this filter! it will help a lot! Thanks :) I have sprinkled the filters around Lazarus GUI. Now it is relatively easy when there are reusable components for it. Juha P.S. Nice photo --

Re: [Lazarus] Adding packages at build time

2012-03-07 Thread Mattias Gaertner
On Wed, 07 Mar 2012 14:54:37 -0500 waldo kitty wkitt...@windstream.net wrote: [...] i want to make sure i am understanding this completely... i've been using the wiki's install FPC and Lazarus from SVN methods for a while... i even contributed a little bit to that page... anyway, i currently