Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-22 Thread Jürgen Hestermann
Am 2013-08-21 18:40, schrieb luiz americo pereira camara: 2013/8/21 Jürgen Hestermann juergen.hesterm...@gmx.de mailto:juergen.hesterm...@gmx.de I now found that toDisableAutoscrollOnFocus (under AutoOptions) is changing between these both behaviours: If I set it to TRUE I can

Re: [Lazarus] Shell notifications

2013-08-22 Thread Antonio Fortuny
Hi All. I've built some code which works fine under Linux. I'm now working on the Windows part using FindFirstChangeNotificationA to get the directory handle and ReadDirectoryChangesW to fetch events data. And I'm blocked there. The receiving buffer is set to 32kb. After changing a file

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread Juha Manninen
On Thu, Aug 22, 2013 at 3:50 AM, waldo kitty wkitt...@windstream.net wrote: after preventing all additional apps from starting, including my firewall and my avast anti-virus, i saw 1.047 seconds for the reading of the compiler options... unloading lazarus and immediately reloading it and trying

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread Martin
On 20/08/2013 14:13, Juha Manninen wrote: Attention waldo kitty and others with slow machines. I added code for timing the reading of all compiler options and the rendering the GUI for them. It shows a MessageBox after reading and rendering. I don't use the define, it should log to console,

Re: [Lazarus] Shell notifications

2013-08-22 Thread Antonio Fortuny
See the code in attachment I changed the code a little bit adding the OVERLAP parameter and events to use the async method. Now the same function returns error code 6 Antonio. procedure TFrmMain.StartNotify(const FolderName: String); {$IFDEF LINUX} function

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread waldo kitty
On 8/22/2013 05:56, Juha Manninen wrote: On Thu, Aug 22, 2013 at 3:50 AM, waldo kittywkitt...@windstream.net wrote: after preventing all additional apps from starting, including my firewall and my avast anti-virus, i saw 1.047 seconds for the reading of the compiler options... unloading

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread Sven Barth
Am 21.08.2013 17:45, schrieb Sven Barth: Maybe I'll need to test this on my mobile development computer as well (800 MHz Intel Stealy processor, 1 GB RAM, Windows 7) ^^ I've written a simple application that uses TProcess to start fpc -i and fpc -h and reads it standard and error output. The

Re: [Lazarus] Shell notifications

2013-08-22 Thread Sven Barth
Am 22.08.2013 13:33, schrieb Antonio Fortuny: See the code in attachment I changed the code a little bit adding the OVERLAP parameter and events to use the async method. Now the same function returns error code 6 Error code 6 is ERROR_INVALID_HANDLE (would be nice if you'd mention the error

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread waldo kitty
On 8/22/2013 06:58, Martin wrote: The system was particular busy (another fpc (different exe / different version) was running). - using 1 of 2 cpu = but the other was idle, so enough cpu power - still 1Gb of RAM free - but it would have prevented anything useful being in the OS disc cache

Re: [Lazarus] Shell notifications

2013-08-22 Thread Henry Vermaak
On Thu, Aug 22, 2013 at 01:49:28PM +0200, Sven Barth wrote: Am 22.08.2013 13:33, schrieb Antonio Fortuny: See the code in attachment I changed the code a little bit adding the OVERLAP parameter and events to use the async method. Now the same function returns error code 6 Error code 6 is

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread Juha Manninen
On Thu, Aug 22, 2013 at 2:50 PM, waldo kitty wkitt...@windstream.net wrote: blink... not sure what to do to make it faster... Replacing Windows with Linux would make it faster. See my earlier timings for a much slower P2 233 MHz machine. Sorry, I could not resist writing this... You may have

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread Sven Barth
Am 22.08.2013 14:14, schrieb Juha Manninen: On Thu, Aug 22, 2013 at 2:50 PM, waldo kitty wkitt...@windstream.net wrote: blink... not sure what to do to make it faster... Replacing Windows with Linux would make it faster. See my earlier timings for a much slower P2 233 MHz machine. I *know*

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread waldo kitty
On 8/22/2013 07:42, Sven Barth wrote: Am 21.08.2013 17:45, schrieb Sven Barth: Maybe I'll need to test this on my mobile development computer as well (800 MHz Intel Stealy processor, 1 GB RAM, Windows 7) ^^ I've written a simple application that uses TProcess to start fpc -i and fpc -h and

[Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread patspiper
Hi, The following applies at least to Linux, and should probably apply as well to other OSes. When multiple FPC versions are used, the fpc binary and related utilities are usually located in fpc folder/fpc version/bin, and the compiler itself (ppcxxx) in fpc folder/fpc version/lib/fpc/fpc

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread Sven Barth
Am 22.08.2013 14:38, schrieb waldo kitty: On 8/22/2013 07:42, Sven Barth wrote: Am 21.08.2013 17:45, schrieb Sven Barth: Maybe I'll need to test this on my mobile development computer as well (800 MHz Intel Stealy processor, 1 GB RAM, Windows 7) ^^ I've written a simple application that uses

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread waldo kitty
On 8/22/2013 07:42, Sven Barth wrote: On my above mentioned 800 MHz system fpc -i takes ~445ms and fpc -h ~540ms for a 2.6.2 fpc.exe. If I now use a 2.6.2 ppc386.exe (which is called by fpc.exe) the time is ~240ms and ~315ms respectively. I've attached the lpr if someone wants to test

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread Mattias Gaertner
On Thu, 22 Aug 2013 15:39:47 +0300 patspiper patspi...@gmail.com wrote: [...] * If the FPCVER macro does not appear in any of the 2 paths (absolute path to the fpc binary and relative path of ppc compiler) then the fpc binary can be queried to set the FPCVER macro. The FPCVer always

Re: [Lazarus] Timing of all compiler options on slow machines

2013-08-22 Thread waldo kitty
On 8/22/2013 08:14, Juha Manninen wrote: On Thu, Aug 22, 2013 at 2:50 PM, waldo kittywkitt...@windstream.net wrote: blink... not sure what to do to make it faster... Replacing Windows with Linux would make it faster. See my earlier timings for a much slower P2 233 MHz machine. ROTFLMAO!!!

Re: [Lazarus] Shell notifications

2013-08-22 Thread Antonio Fortuny
Le 22/08/2013 14:06, Henry Vermaak a écrit : On Thu, Aug 22, 2013 at 01:49:28PM +0200, Sven Barth wrote: Am 22.08.2013 13:33, schrieb Antonio Fortuny: See the code in attachment I changed the code a little bit adding the OVERLAP parameter and events to use the async method. Now the same

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread Mark Morgan Lloyd
patspiper wrote: When multiple FPC versions are used, the fpc binary and related utilities are usually located in fpc folder/fpc version/bin, and the compiler itself (ppcxxx) in fpc folder/fpc version/lib/fpc/fpc version. The folders could be different than these, but the point to note is

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread patspiper
On 22/08/13 15:59, Mattias Gaertner wrote: On Thu, 22 Aug 2013 15:39:47 +0300 patspiper patspi...@gmail.com wrote: [...] * If the FPCVER macro does not appear in any of the 2 paths (absolute path to the fpc binary and relative path of ppc compiler) then the fpc binary can be queried to set

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread patspiper
On 22/08/13 16:23, Mark Morgan Lloyd wrote: patspiper wrote: When multiple FPC versions are used, the fpc binary and related utilities are usually located in fpc folder/fpc version/bin, and the compiler itself (ppcxxx) in fpc folder/fpc version/lib/fpc/fpc version. The folders could be

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread Henry Vermaak
On Thu, Aug 22, 2013 at 05:12:04PM +0300, patspiper wrote: On 22/08/13 16:23, Mark Morgan Lloyd wrote: I usually add a couple of symlinks in /usr/local/bin e.g. ppcsparc - ppcsparc-2.6.2 and ppcsparc-2.6.2 - /usr/local/lib/fpc/2.6.2/ppcsparc. The fpc binary will be the one installed by the

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread patspiper
On 22/08/13 17:26, Henry Vermaak wrote: On Thu, Aug 22, 2013 at 05:12:04PM +0300, patspiper wrote: On 22/08/13 16:23, Mark Morgan Lloyd wrote: I usually add a couple of symlinks in /usr/local/bin e.g. ppcsparc - ppcsparc-2.6.2 and ppcsparc-2.6.2 - /usr/local/lib/fpc/2.6.2/ppcsparc. The fpc

[Lazarus] SynEdit onMouseWell

2013-08-22 Thread Junior
Hello all. How to implement onMouseWell in SynEdit ? thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread Mark Morgan Lloyd
patspiper wrote: On 22/08/13 16:23, Mark Morgan Lloyd wrote: patspiper wrote: When multiple FPC versions are used, the fpc binary and related utilities are usually located in fpc folder/fpc version/bin, and the compiler itself (ppcxxx) in fpc folder/fpc version/lib/fpc/fpc version. The

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-22 Thread luiz americo pereira camara
2013/8/22 Jürgen Hestermann juergen.hesterm...@gmx.de Am 2013-08-21 18:40, schrieb luiz americo pereira camara: 2013/8/21 Jürgen Hestermann juergen.hesterm...@gmx.de I now found that toDisableAutoscrollOnFocus (under AutoOptions) is changing between these both behaviours: If I set it

Re: [Lazarus] SynEdit onMouseWell

2013-08-22 Thread waldo kitty
On 8/22/2013 12:20, Junior wrote: Hello all. How to implement onMouseWell in SynEdit ? do you mean onMouseWheel? -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread patspiper
On 22/08/13 19:36, Mark Morgan Lloyd wrote: I started off with a standard FPC binary installation circa 2.0, this put the utilities in /usr/local/bin ** . Since then I've generally built from source- in many cases I've had to since there wasn't an up-to-date binary- and I've never had to

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread Mark Morgan Lloyd
patspiper wrote: On 22/08/13 19:36, Mark Morgan Lloyd wrote: I've never seen any suggestion that this breaks backwards compatibility, and if it does it should probably be raised as a bug- at least so that it can be documented properly. In any event, as long as fpc (etc.) knows what

Re: [Lazarus] SynEdit onMouseWell

2013-08-22 Thread Martin
On 22/08/2013 17:20, Junior wrote: Hello all. How to implement onMouseWell in SynEdit ? looks like a bug procedure TCustomSynEdit.WMMouseWheel(var Message: TLMMouseEvent); only calls inherited, if there are no scrollbars. -- just change it to always call inherited. --

Re: [Lazarus] SynEdit onMouseWell

2013-08-22 Thread Martin
On 22/08/2013 19:36, Martin wrote: On 22/08/2013 17:20, Junior wrote: Hello all. How to implement onMouseWell in SynEdit ? looks like a bug try to change it to the below. (int synedit.pp I have not tested it yet... will do later procedure TCustomSynEdit.WMMouseWheel(var Message:

[Lazarus] Remote Registry...

2013-08-22 Thread Liyuan Garcia Caballero
Hi guys, I need access to remote registry of Microsoft Window and get a data, it's posible with Pascal? Somebody can share one code? Thank a lot -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. --

Re: [Lazarus] Remote Registry...

2013-08-22 Thread waldo kitty
On 8/22/2013 16:46, Liyuan Garcia Caballero wrote: Hi guys, I need access to remote registry of Microsoft Window and get a data, it's posible with Pascal? of course it is possible... the question is how are you expecting to be able to perform this task... Somebody can share one code? no

Re: [Lazarus] SynEdit onMouseWell

2013-08-22 Thread Junior
The bars work, I wanted to implement the event because they appear in the Object Inspector. Em 22-08-2013 15:36, Martin escreveu: On 22/08/2013 17:20, Junior wrote: Hello all. How to implement onMouseWell in SynEdit ? looks like a bug procedure TCustomSynEdit.WMMouseWheel(var Message:

Re: [Lazarus] Remote Registry...

2013-08-22 Thread Flávio Etrusco
On Thu, Aug 22, 2013 at 9:55 PM, waldo kitty wkitt...@windstream.net wrote: On 8/22/2013 16:46, Liyuan Garcia Caballero wrote: Hi guys, I need access to remote registry of Microsoft Window and get a data, it's posible with Pascal? of course it is possible... the question is how are you