Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-25 22:45, Michael Van Canneyt het geskryf: This is indeed the problem. However, under Firebird, it is correct. An Execute will return only the first values. Is this true even for stored procs that return a result set (aka temp table

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Felipe Monteiro de Carvalho
On Tue, Jan 25, 2011 at 6:33 PM, Jürgen Hestermann wrote: >> Better a soft doctor than no doctor. > > Here I strongly disagree. -1 on the disagree lazbuild is a very important tool. Plus for the user it's internal structure is completely irrelevant. -- Felipe Monteiro de Carvalho -- _

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Frank Church
On 25 January 2011 06:45, Frank Church wrote: > > I am finding the NoGUI option useful in converting projects using > TDataModules to Linux, but there is some talk about phasing it out. > > Can anyone clarify the original purpose behind its existence and whether it > is problem free so long as no

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Frank Church wrote: On 25 January 2011 06:45, Frank Church wrote: I am finding the NoGUI option useful in converting projects using TDataModules to Linux, but there is some talk about phasing it out. Can anyone clarify the original purpose behind its existence and whe

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Thorstein Beyer
On Wed, Jan 26, 2011 at 10:01 AM, Felipe Monteiro de Carvalho wrote: > lazbuild is a very important tool. Plus for the user it's internal > structure is completely irrelevant. That is a very good point, because for beginners and new people (Free) Pascal and Lazarus are very attractive, because th

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Graeme Geldenhuys
Op 2011-01-26 11:37, Thorstein Beyer het geskryf: > ...because of potentially young talents who might join us in the future. :-) Well... if they are "talented", then hopefully they knew from the start how to separate non-GUI code from GUI code in the first place, and not rely on some Lazarus spe

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Frank Church
On 26 January 2011 10:19, Graeme Geldenhuys wrote: > Op 2011-01-26 11:37, Thorstein Beyer het geskryf: > > > ...because of potentially young talents who might join us in the future. > > :-) Well... if they are "talented", then hopefully they knew from the > start how to separate non-GUI code fro

[Lazarus] Can I be sure that timer and synchronize never fire at once?

2011-01-26 Thread Luca Olivetti
Hello, I'm trying to debug a strange crash in an application (it's strange because the exception dialog appears and then disappears almost instantly without clicking on any button, so the customer cannot tell me the reason of the exception). My application (as almost any application I write)

Re: [Lazarus] Can I be sure that timer and synchronize never fire at once?

2011-01-26 Thread zeljko
On Wednesday 26 of January 2011 11:22:47 Luca Olivetti wrote: > Hello, > I'm trying to debug a strange crash in an application (it's strange > because the exception dialog appears and then disappears almost > instantly without clicking on any button, so the customer cannot tell me > the reason of t

Re: [Lazarus] Can I be sure that timer and synchronize never fire at once?

2011-01-26 Thread Luca Olivetti
En/na zeljko ha escrit: On Wednesday 26 of January 2011 11:22:47 Luca Olivetti wrote: Hello, I'm trying to debug a strange crash in an application (it's strange because the exception dialog appears and then disappears almost instantly without clicking on any button, so the customer cannot tell m

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: Why do you think you need 2 processes and interprocess communication ? A friend wants to do graphics (diagrams), using BGI, and wants to see the results while debugging. Some time ago I wrote for him an TCP/IP server in Delphi, that presents the diagrams.

Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-26 Thread Marcos Douglas
On Tue, Jan 25, 2011 at 4:50 PM, José Mejuto wrote: > Hello Lazarus-List, > > Sunday, January 23, 2011, 12:06:12 PM, you wrote: > > MVC> Attached is a possible patch. I don't have MS-SQL (doesn't > MVC> run on Linux) so I can't test. > MVC> Please apply it to packages/fcl-db/src/sqldb/sqldb.pp and

Re: [Lazarus] Test the Lazarus fixes_0_9_30 branch

2011-01-26 Thread Alexsander Rosa
Only 3 issues left. Good work, guys! 2010/12/24 Vincent Snijders > See > http://bugs.freepascal.org/view_all_set.php?type=3&source_query_id=1811 > for current open issues for the next release. > > Vincent > > -- Atenciosamente, Alexsander da Rosa Linux User #113925 -- __

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Thorstein Beyer
On Wed, Jan 26, 2011 at 11:19 AM, Graeme Geldenhuys wrote: > :-) Well... if they are "talented", then hopefully they knew from the > start how to separate non-GUI code from GUI code in the first place I strongly disagree with that, because many people might be seen as talented at some point in t

Re: [Lazarus] Can I be sure that timer and synchronize never fire at once?

2011-01-26 Thread Michael Schnell
On 01/26/2011 11:22 AM, Luca Olivetti wrote: My application (as almost any application I write) is based on the assumption that methods invoked by a timer and methods invoked by a thread with synchronize will never fire at once (i.e. they will be serialized by the main loop). Can I be 100%

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Michael Schnell
On 01/25/2011 10:33 AM, Graeme Geldenhuys wrote: I also can't understand the point of the 'nogui' widgetset. In fact its "Widget Type". (Not that I like this name, but somebody did name it so.) An application is or GUI or non-GUI (latter requiring no widgetset at all). Yep, but as the Timers

Re: [Lazarus] Can I be sure that timer and synchronize never fire at once?

2011-01-26 Thread Mattias Gaertner
On Wed, 26 Jan 2011 12:58:58 +0100 Michael Schnell wrote: > On 01/26/2011 11:22 AM, Luca Olivetti wrote: > > > > My application (as almost any application I write) is based on the > > assumption that methods invoked by a timer and methods invoked by a > > thread with synchronize will never fire

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Michael Schnell
On 01/26/2011 11:19 AM, Graeme Geldenhuys wrote: :-) Well... if they are "talented", then hopefully they knew from the start how to separate non-GUI code from GUI code in the first place, and not rely on some Lazarus specific features to help them out with a temporary fix. But is "RAD" not real

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Michael Schnell
On 01/26/2011 10:28 AM, Frank Church wrote: My main concern now is how the GUI part of an app can expose an interface to data modules that do not require the data module to link with GUI libraries. You should do the "Business Logic" as number of Classes. They provide properties and functio

Re: [Lazarus] Can I be sure that timer and synchronize never fire at once?

2011-01-26 Thread Michael Schnell
On 01/26/2011 01:08 PM, Mattias Gaertner wrote: If the main thread calls Synchronize then the method will be called instantly. Yep, But of course this does not result in any preemption, either. -Michael -- ___ Lazarus mailing list Lazarus@lists.laz

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Graeme Geldenhuys
Op 2011-01-26 14:11, Michael Schnell het geskryf: > But is "RAD" not really encouraging to drop the separation ? Indeed, that is my opinion also, and seems to be the case in 99% of the projects I have worked on in the past. But as Michael van Canneyt pointed out, RAD doesn't exclude good design [b

Re: [Lazarus] Liberation Sans font availability under Linux (alternative to Arial)

2011-01-26 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: Op 2011-01-25 11:46, Mark Morgan Lloyd het geskryf: In particular, I wonder whether any of the older Ubuntu LTS releases are still in significant use but don't have them. I'm running Ubuntu 8.04.4 LTS at home on my laptop. I'll take a look tonight to see if it includes

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Mattias Gaertner
    Michael Schnell hat am 26. Januar 2011 um 13:06 geschrieben: > On 01/25/2011 10:33 AM, Graeme Geldenhuys wrote: > > > > I also can't understand the point of the > > 'nogui' widgetset. > In fact its "Widget Type". (Not that I like this name, but somebody did > name it so.)  It depends on the

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Michael Schnell
On 01/26/2011 02:46 PM, Mattias Gaertner wrote: It depends on the context. Obviously. But as "Widget Set" (as in "external Widget Ste Library") and "Interface" (this even is a Keyword in fpc) have at least one meaning that can produce confusion, both expressions are not a good idea to be

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Felipe Monteiro de Carvalho
On Wed, Jan 26, 2011 at 3:40 PM, Michael Schnell wrote: > In fact (as you might know), for testing, I already did this some time ago, > but I don't want to offer this code to the Lazarus project, as I took large > chunks of source code from MSEGUI (which provides exactly this > functionality), and

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Michael Schnell
In fact I did ask Martin and he did agree that I am allowed to offer his code to Lazarus, but I really consider it bad design and difficult to maintain to have multiple completely unsynced implementations of the same functionality in the same source code tree.(We did discuss this already some y

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Mattias Gaertner
    Michael Schnell hat am 26. Januar 2011 um 15:40 geschrieben: >[...] > both expressions are not a good idea>[...] > I don't want to offer this code to the Lazarus project  Thanks. Mattias-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepasca

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Michael Schnell
On 01/26/2011 03:59 PM, Mattias Gaertner wrote: Thanks. =-O If anybody really wants to check this code, I'll try to dig it out of the archive and send it in a private mail. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.or

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Felipe Monteiro de Carvalho
On Wed, Jan 26, 2011 at 3:56 PM, Michael Schnell wrote: > In fact I did ask Martin and he did agree that I am allowed to offer his > code to Lazarus, but I really consider it bad design and difficult to > maintain to have multiple completely unsynced implementations of the same > functionality in

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Michael Schnell
On 01/26/2011 04:23 PM, Felipe Monteiro de Carvalho wrote: On Not sharing is what might be prohibited, depending on what use you make of this software. Regarding GPL you need to provide the source code to everybody you give the executable code. As this was just a "proof of concept" test with ra

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Frank Church
On 26 January 2011 15:23, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > On Wed, Jan 26, 2011 at 3:56 PM, Michael Schnell > wrote: > > In fact I did ask Martin and he did agree that I am allowed to offer his > > code to Lazarus, but I really consider it bad design and d

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Andreas Schneider
On Wednesday, January 26, 2011 12:58 Thorstein Beyer wrote: > On Wed, Jan 26, 2011 at 11:19 AM, Graeme Geldenhuys wrote: >>Well... if they are "talented", then hopefully they knew from the >> start how to separate non-GUI code from GUI code in the first place > I strongly disagree with that,

Re: [Lazarus] ERROR compiling Lazarus for first time on Windows 7 Ultimate OS. Fatal: Can't find unit system used by AllLCLUnits

2011-01-26 Thread Peter Eric Williams
Hi Marcos, On 1/26/2011 3:48 AM, Marcos Douglas wrote: On Tue, Jan 25, 2011 at 12:31 PM, Pew (piffle.the.cat) wrote: I followed the instructions here: http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 As I said, I ch

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Frank Church
On 25 January 2011 06:45, Frank Church wrote: > > I am finding the NoGUI option useful in converting projects using > TDataModules to Linux, but there is some talk about phasing it out. > > Can anyone clarify the original purpose behind its existence and whether it > is problem free so long as no

Re: [Lazarus] ERROR compiling Lazarus for first time on Windows 7 Ultimate OS. Fatal: Can't find unit system used by AllLCLUnits

2011-01-26 Thread Marcos Douglas
2011/1/26 Peter Eric Williams : > I now have Free Pascal 2.4.2 compiler installed on Windows from the > installation file. > > I am using Windows 7 Ultimate and there is no autoexec.bat and no My > Computer icon. You doesn't need this. Just use the tutorial before again. http://wiki.lazarus.freep

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread waldo kitty
On 1/26/2011 13:08, Frank Church wrote: After having sparked a much longer thread than I expected, I need to get back to my problem, although it may belong in a different thread. Now in most case data modules expose interfaces that the GUI parts of the app call to get data. My problem now is th

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Frank Church
On 26 January 2011 18:29, waldo kitty wrote: > On 1/26/2011 13:08, Frank Church wrote: > >> After having sparked a much longer thread than I expected, I need to get >> back to >> my problem, although it may belong in a different thread. >> >> Now in most case data modules expose interfaces that t

Re: [Lazarus] ERROR compiling Lazarus for first time on Windows 7 Ultimate OS. Fatal: Can't find unit system used by AllLCLUnits

2011-01-26 Thread shoKwave
Am 26.01.2011 18:53, schrieb Peter Eric Williams: * Win98: Edit autoexec.bat and add the line: PATH=%PATH%;C:\pp\bin\bin\win32 * WinXP/2k: My Computer (Right Click) -> Properties -> Advanced (Page) -> Environment Variables -> System Variables -> Edit "PATH", Add "C:\pp\

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread waldo kitty
On 1/26/2011 13:43, Frank Church wrote: On 26 January 2011 18:29, waldo kitty mailto:wkitt...@windstream.net>> wrote: On 1/26/2011 13:08, Frank Church wrote: After having sparked a much longer thread than I expected, I need to get back to my problem, although it may belong

[Lazarus] about TDbf

2011-01-26 Thread hector fiandor
Hi guys I have obtained the TDbf tutorial by Micha Nelissen (english version) and in the 6.35 Restructure Table it is mentioned the property Restruture, but I havent found. I will appreciate any suggestion. thanks in advance, Ing. Héctor F. Fiandor Rosario hfian...@infomed.sld.cu -- Este