Re: [Lazarus] Is this bug? in debug mode

2013-12-11 Thread FreeMan
Thank for answer Martin, Try stabs versus dwarf. This may help. No, not helped me :( if I need much imported, I add local variable or use showmessage. this come bug from out fpc or lazarus. maybe fix in future, its okey. I have a new bug, While debugging, some error popup (still not sure

Re: [Lazarus] Is this bug? in debug mode

2013-12-11 Thread Martin Frb
On 11/12/2013 11:05, FreeMan wrote: I have a new bug, While debugging, some error popup (still not sure wich and how so I can not report detail) Blue dots loseing application running and I can't not debug. When application end via Application.Terminate; code this error popups The GDB

[Lazarus] Win services

2013-12-11 Thread Antonio Fortuny
Hi Folks. I'am in trouble when attempting to stop a Windows service using the TServiceManager component. The program runs into a Vista-32 box, the Lazarus IDE runs in an administrator user console: it has been started as d:...\Lazarus my_project.lpi When I run the program and do a step by

Re: [Lazarus] Is this bug? in debug mode

2013-12-11 Thread FreeMan
Sorry Iwas forget fpc svn update 26218 lazarus svn update 43532 kubuntu 13.10 x64 this lines how I compile svn fpc make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 OVERRIDEVERSIONCHECK=1 for crosscompile win32 win64 make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1

Re: [Lazarus] Win services

2013-12-11 Thread Michael Van Canneyt
On Wed, 11 Dec 2013, Antonio Fortuny wrote: Hi Folks. I'am in trouble when attempting to stop a Windows service using the TServiceManager component. The program runs into a Vista-32 box, the Lazarus IDE runs in an administrator user console: it has been started as d:...\Lazarus

Re: [Lazarus] Is this bug? in debug mode

2013-12-11 Thread Martin Frb
On 11/12/2013 13:32, FreeMan wrote: Sorry Iwas forget fpc svn update 26218 lazarus svn update 43532 kubuntu 13.10 x64 Thanks. Please let me know when you tested the rest of my suggestions. I do advice to downgrade to GDB 7.5.1 Btw, do you use a screen reader (vision impaired/blind?).

[Lazarus] [RESOLVED] Re: Is this bug? in debug mode

2013-12-11 Thread FreeMan
I was remove and reinstall gdb before read your mail, I checked: 3) You can try to change the value of InternalStartBreak (see property grid on the menu/tools/options/debugger/general page). There is no prediction which value will work, so you need to try them all. just open combobox and

Re: [Lazarus] [RESOLVED] Re: Is this bug? in debug mode

2013-12-11 Thread Martin Frb
On 11/12/2013 13:45, FreeMan wrote: I was remove and reinstall gdb before read your mail, I checked: 3) You can try to change the value of InternalStartBreak (see property grid on the menu/tools/options/debugger/general page). There is no prediction which value will work, so you need to try

[Lazarus] PDO: Pascal Data Objects, who uses?

2013-12-11 Thread silvioprog
Hello, Googling to create a role and a database in PostgreSQL via FPC code, I found this project: http://pdo.sourceforge.net Seems outdated (Last Update: 2013/4/22), but is very nice to see that one tried bring the PDO idea to FPC: one of the best PHP libraries to data persistance:

Re: [Lazarus] Win services

2013-12-11 Thread Antonio Fortuny
Le 11/12/2013 14:38, Michael Van Canneyt a écrit : On Wed, 11 Dec 2013, Antonio Fortuny wrote: Hi Folks. I'am in trouble when attempting to stop a Windows service using the TServiceManager component. The program runs into a Vista-32 box, the Lazarus IDE runs in an administrator user

Re: [Lazarus] Win services

2013-12-11 Thread Michael Van Canneyt
On Wed, 11 Dec 2013, Antonio Fortuny wrote: Le 11/12/2013 14:38, Michael Van Canneyt a écrit : On Wed, 11 Dec 2013, Antonio Fortuny wrote: Hi Folks. I'am in trouble when attempting to stop a Windows service using the TServiceManager component. The program runs into a Vista-32 box,

Re: [Lazarus] Win services

2013-12-11 Thread Reinier Olislagers
On 11/12/2013 15:47, Michael Van Canneyt wrote: On Wed, 11 Dec 2013, Antonio Fortuny wrote: Le 11/12/2013 14:38, Michael Van Canneyt a écrit : On Wed, 11 Dec 2013, Antonio Fortuny wrote: SMgr := TServiceManager.Create(nil); try SMgr.Access := SC_MANAGER_ALL_ACCESS; You should

Re: [Lazarus] Win services

2013-12-11 Thread Antonio Fortuny
Sorry all, it is my fault. In fact, when I use the commande net start servicenape servicenape stands for the display name and it works every day. This time I tried: sc stop my_service with the same name and I receive a Windows error telling me that service has not been started, but I'm pretty

Re: [Lazarus] Win services

2013-12-11 Thread Reinier Olislagers
On 11/12/2013 16:17, Antonio Fortuny wrote: Maybe the wiki page (http://wiki.freepascal.org/ServiceManager) could be adapted to be more precise. Looking forward to *your* updates. (hint, HINT, *HINT*!) rantAll well and good that only a select few persons ever take the trouble to ever write

Re: [Lazarus] Win services

2013-12-11 Thread Antonio Fortuny
Le 11/12/2013 16:23, Reinier Olislagers a crit: On 11/12/2013 16:17, Antonio Fortuny wrote: Maybe the wiki page (http://wiki.freepascal.org/ServiceManager) could be adapted to be more precise. Looking forward to *your* updates.

Re: [Lazarus] Win services

2013-12-11 Thread Reinier Olislagers
On 11/12/2013 16:31, Antonio Fortuny wrote: Le 11/12/2013 16:23, Reinier Olislagers a écrit : On 11/12/2013 16:17, Antonio Fortuny wrote: some time to explain to me how to proceed. Are you serious? Basically log in, hit edit and away you go. --

Re: [Lazarus] Win services

2013-12-11 Thread Reinier Olislagers
On 11/12/2013 16:31, Antonio Fortuny wrote: Le 11/12/2013 16:23, Reinier Olislagers a écrit : On 11/12/2013 16:17, Antonio Fortuny wrote: I guess that someone should read tha changes before they are published. I'd suggest you just write what you know. If there are errors, they're easily

Re: [Lazarus] Win services

2013-12-11 Thread Frederic Da Vitoria
2013/12/11 Reinier Olislagers reinierolislag...@gmail.com On 11/12/2013 16:31, Antonio Fortuny wrote: Le 11/12/2013 16:23, Reinier Olislagers a écrit : On 11/12/2013 16:17, Antonio Fortuny wrote: I guess that someone should read tha changes before they are published. I'd suggest you

[Lazarus] SQL function within SQL statement

2013-12-11 Thread Eric Kom
Hi all, Please I got small issue with lazarus on how to pass SQL statement with a function as above: SELECT city, UCASE(capital) FROM country; the capital column doesn't show on the DBGrid Thanks -- ___ Lazarus mailing list

Re: [Lazarus] SQL function within SQL statement

2013-12-11 Thread David Copeland
Perhaps you could try UCASE(capital) as capital ... Dave Copeland. On 12/11/2013 01:16 PM, Eric Kom wrote: Hi all, Please I got small issue with lazarus on how to pass SQL statement with a function as above: SELECT city, UCASE(capital) FROM country; the capital column doesn't show on the

Re: [Lazarus] SQL function within SQL statement

2013-12-11 Thread Eric Kom
On 11/12/2013 20:31, David Copeland wrote: Perhaps you could try UCASE(capital) as capital ... ooh! Thanks Dave Copeland. On 12/11/2013 01:16 PM, Eric Kom wrote: Hi all, Please I got small issue with lazarus on how to pass SQL statement with a function as above: SELECT city,

[Lazarus] TDBCtrlGrid

2013-12-11 Thread Fabio Luis Girardi
Hi All!! I'm starting a clone (not a copy) of TDBCtrlGrid of Delphi. Now, I'm creating the base of TDBCtrlGrid and I'm testing it on form designer of Lazarus, without success. I can't put any control on the sub panel (that will be replicated for each row of dataset). At the moment, I created two