[Lazarus] ActiveX in Lazarus and classic ASP

2016-03-20 Thread Marcos Douglas
an option to use something like "New>ActiveX..." Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] ActiveX in Lazarus and classic ASP

2016-03-19 Thread Marcos Douglas
B43AC6A3E}', version 1.0, helpstring 'FooClass Object' ]; But I don't know if is relevant... anyway. So, how an new FPC programer should know these things to make a ActiveX? I could be wrong, but I don't think just implement IDispatch is enough, do you? Best regards, Marcos Douglas -- __

Re: [Lazarus] ActiveX in Lazarus and classic ASP

2016-03-18 Thread Marcos Douglas
d. Do you know? Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to automatically free classes/objects?

2016-03-01 Thread Marcos Douglas
classes-objects > > I want to know is there any better way in Lazarus or what should I do? Use interfaces instead of objects. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Marcos Douglas
mazing job, congratulations. Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-01 Thread Marcos Douglas
ent (yet) but I work with MSSQL every day. Would be great if we had such tool. Thanks. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Video: Docked Designer Test

2015-11-24 Thread Marcos Douglas
On Tue, Nov 24, 2015 at 7:40 AM, Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> wrote: > Then you organise it as follows: > > http://geldenhuys.co.uk/~graemeg/datamodule.png :) Marcos Douglas -- ___ Lazarus maili

[Lazarus] "lcl: less with-blocks for FPC 3.1.1"

2015-11-11 Thread Marcos Douglas
/lcl/interfaces/carbon/carbonthemes.pas?root=lazarus=50303=50302=50303 Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] "lcl: less with-blocks for FPC 3.1.1"

2015-11-11 Thread Marcos Douglas
On Wed, Nov 11, 2015 at 4:01 PM, Michael Van Canneyt <mich...@freepascal.org> wrote: > Nothing will change for with. But TRect may receive methods, and this may > lead to hard-to-catch errors. > > Mattias did this for safety. Thank you, Michael

Re: [Lazarus] "lcl: less with-blocks for FPC 3.1.1"

2015-11-11 Thread Marcos Douglas
On Wed, Nov 11, 2015 at 5:03 PM, Sven Barth <pascaldra...@googlemail.com> wrote: > Am 11.11.2015 18:58 schrieb "Marcos Douglas" <m...@delfire.net>: >> >> Hi, >> >> Many changes using this comment (in the subject) was made in LCL SVN, >> chang

Re: [Lazarus] A big thank you!

2015-11-04 Thread Marcos Douglas
On Wed, Nov 4, 2015 at 5:26 AM, Ondrej Pokorny <laza...@kluug.net> wrote: > > It was me. You are welcome ;) Good job! Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mail

Re: [Lazarus] TSynMemo + TSynXMLSyn: How format a XML after load it?

2015-10-28 Thread Marcos Douglas
On Wed, Oct 28, 2015 at 10:32 AM, Mattias Gaertner <nc-gaert...@netcologne.de> wrote: > On Wed, 28 Oct 2015 09:43:23 -0200 > Marcos Douglas <m...@delfire.net> wrote: > >> [...] >> ...automatically, by set a property or use a method. >> Is it possible? >

Re: [Lazarus] TSynMemo + TSynXMLSyn: How format a XML after load it?

2015-10-28 Thread Marcos Douglas
On Wed, Oct 28, 2015 at 6:48 AM, Mattias Gaertner <nc-gaert...@netcologne.de> wrote: > On Wed, 28 Oct 2015 01:17:23 -0200 > Marcos Douglas <m...@delfire.net> wrote: > >> Hi, >> >> I'm using TSynMemo and TSynXMLSyn. >> How format a XML after load it? >

Re: [Lazarus] TSynMemo + TSynXMLSyn: How format a XML after load it?

2015-10-28 Thread Marcos Douglas
On Wed, Oct 28, 2015 at 12:37 PM, Anthony Walter wrote: > uses > Codebot.Text.Xml; > > function PrettyXml(const Xml: string): string; > [...] Thank you! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Access violation when close a project

2015-10-27 Thread Marcos Douglas
. Press OK to ignore and risk data corruption. Press Cancel to kill the program. [OK] [Cancel] --- Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] TSynMemo + TSynXMLSyn: How format a XML after load it?

2015-10-27 Thread Marcos Douglas
Hi, I'm using TSynMemo and TSynXMLSyn. How format a XML after load it? Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-23 Thread Marcos Douglas
On Fri, Oct 23, 2015 at 9:18 AM, Martin Schreiber wrote: > [...] > And before Graeme shows his image with the thousand components in a single > datamodule here how it could look: > http://mseide-msegui.sourceforge.net/pics/mseguirad.png > ;-) LOL! One or two times on year I

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-23 Thread Marcos Douglas
out or only GUI specific code. Possible, yes, but is more difficult to understand, maintenance is compromised and hard to make tests. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-23 Thread Marcos Douglas
es bad habits (this is fact > with the Delphi projects I've seen over the last 20+ years), and we all > know bad habits die hard. I agree. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Working on big units

2015-10-21 Thread Marcos Douglas
inimum as possible. Is better to have 10 classes with one method each, than 1 classe with 10 methods. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Working on big units

2015-10-21 Thread Marcos Douglas
idnt wanted to put each control in one unit) my point > is finding out browsing and editing big units. As Martin and others said, the IDE will help you. Good luck. Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazaru

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-14 Thread Marcos Douglas
C) to help me get more >> familiar with however CodeTools is organized? > > > FYI, that you don't develop it as well (see attached screenshots). I have to > clean the source first, though. I was waiting this too. Thank you! Best regards, Marcos Douglas -- __

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Marcos Douglas
a code completion list of units which start with "CompanyName." +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Streaming my TODO list

2015-10-08 Thread Marcos Douglas
On Thu, Oct 8, 2015 at 6:21 AM, Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> wrote: > > That URL doesn't seem to be working. I get redirected to > [http://www.finditez.com/] The correct URL is http://www.codebot.org/live

Re: [Lazarus] Delphi-like Project Group in Lazarus?

2015-07-13 Thread Marcos Douglas
, does anybody know if FreeSparta or CodeTyphon maybe implemented this, and is something we can merge back into Lazarus? +1 This is very useful. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Compiler Options - Conditionally add a package dependency?

2015-07-09 Thread Marcos Douglas
is a namespace -- we know this is true -- and this is not necessary... anyway. Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Compiler Options - Conditionally add a package dependency?

2015-07-09 Thread Marcos Douglas
On Thu, Jul 9, 2015 at 3:45 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 9 Jul 2015, Marcos Douglas wrote: On Thu, Jul 9, 2015 at 2:58 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 9 Jul 2015, Marcos Douglas wrote: On Thu, Jul 9, 2015 at 12:58 PM

Re: [Lazarus] Compiler Options - Conditionally add a package dependency?

2015-07-09 Thread Marcos Douglas
On Thu, Jul 9, 2015 at 2:58 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 9 Jul 2015, Marcos Douglas wrote: On Thu, Jul 9, 2015 at 12:58 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 9 Jul 2015, Graeme Geldenhuys wrote: Hi, I have two independent

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
On Fri, Jun 26, 2015 at 10:06 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 26 Jun 2015, Marcos Douglas wrote: Things start to get messy when you start thinking about functionality. So that comes next, and the business classes reflect functionality, and consequently more

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
the database for production. Hope this helps. Don Ziesig, ROP (Really OLD Programmer);-) +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
data. So, they are completely different things. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
data and business objects, so the above approach has always worked for me. I'm tempted to say that working the other way round is bound to lead to confusion. Confusion... That depends if you work using a data-driven design or behavior-driven design. Marcos Douglas

Re: [Lazarus] Lazarus desktop/wallpaper image

2015-04-29 Thread Marcos Douglas
On Wed, Apr 29, 2015 at 7:55 AM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: On 2015-04-29 11:17, Péter Gábor wrote: unfortunately the cat on it is a Tiger not a Cheetah :) hehe... well spotted. ;) =) Marcos Douglas -- ___ Lazarus

Re: [Lazarus] Tutorial: Animating desktop widgets

2015-03-25 Thread Marcos Douglas
there is ANY software that isn't still in development. :-) +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Tutorial: Animating desktop widgets

2015-03-25 Thread Marcos Douglas
read access on a per-request basis? Why not simply publish (or mirror) it on a public system like Github or SourceForge? +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Tutorial: Animating desktop widgets

2015-03-25 Thread Marcos Douglas
and they're actually asking questions in the forums. I'll keep it this way for a while longer. When you posted about Bare.Game I sent a private mail to you but you not answered. :) Ok, I will send a private mail to get my account to your private repo to Codebot. ... Regards, Marcos Douglas

Re: [Lazarus] Tutorial: Animating desktop widgets

2015-03-25 Thread Marcos Douglas
make an effort to open it up as a new project (minus the parts I've sold to third parties). Good decision. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cross Codebot surface drawing examples

2015-03-21 Thread Marcos Douglas
. When do you will update it? https://github.com/sysrpl/Codebot.Cross Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to cast a Interface to a Object in Lazaeus

2015-03-13 Thread Marcos Douglas
(): theBaseImplemetationClass to the interface definition. Which goes completely against the very purpose of interfaces. If you need this, you should not be using interfaces to begin with. The only possible excuse is an external requirement to use interfaces. +1 Marcos Douglas

Re: [Lazarus] How to cast a Interface to a Object in Lazaeus

2015-03-12 Thread Marcos Douglas
we work using interfaces, is using variables that have the type of these interfaces. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to cast a Interface to a Object in Lazaeus

2015-03-12 Thread Marcos Douglas
type. Regards, Ara So work using objects directly. Why do you want to use interfaces if you will use casting for a concrete class? Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Promoting Lazarus: A Case Study Video

2015-02-25 Thread Marcos Douglas
, getlazarus.org, etc -- just think if is better use stable versions. Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
this message? Lazarus 1.5 r47948M FPC 2.6.5 i386-win32-win32/win64 Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 1:29 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 23 Feb 2015 12:02:08 -0300 Marcos Douglas m...@delfire.net wrote: [...] No. Exception could be raised, but FPCUnit will catch. Without debug-info these exception not show a message. But I need to see

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 2:26 PM, martin laza...@mfriebe.de wrote: On 23/02/15 17:16, Marcos Douglas wrote: I need for project, not globally. If this option exists in Build modes... for now you should be able to disable it. ( that option will stay) then we need to find ways to deal with all

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 1:42 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 23 Feb 2015 13:26:17 -0300 Marcos Douglas m...@delfire.net wrote: [...] I will test but could not be as before or, better, why not show this message only if there are breakpoints marked? Stopping

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 12:47 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 23 Feb 2015 12:02:08 -0300 Marcos Douglas m...@delfire.net wrote: [...] Just to be sure: This is about your app (intentionally) not having FPC_RAISEEXCEPTION? There is no other breakpoint (check

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 12:53 PM, martin laza...@mfriebe.de wrote: On 23/02/15 15:02, Marcos Douglas wrote: On Mon, Feb 23, 2015 at 11:44 AM, martin laza...@mfriebe.de wrote: there is an option in the debugger properties (the property grid in the debugger options

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 2:04 PM, martin laza...@mfriebe.de wrote: On 23/02/15 16:26, Marcos Douglas wrote: On Mon, Feb 23, 2015 at 12:53 PM, martin laza...@mfriebe.de wrote: On 23/02/15 15:02, Marcos Douglas wrote: Sorry my fault, the option wasnt published. I committed that, with added

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 2:14 PM, martin laza...@mfriebe.de wrote: On 23/02/15 16:58, Marcos Douglas wrote I don't want to use breakpoint... but in tools option debugger gdb is selected. So the IDE assumes you want to debug. Yet I agree this option is global, not suitable for being

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 4:02 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 23 Feb 2015 13:46:42 -0300 Marcos Douglas m...@delfire.net wrote: On Mon, Feb 23, 2015 at 1:29 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 23 Feb 2015 12:02:08 -0300 Marcos Douglas

Re: [Lazarus] Embedded/small database

2015-02-17 Thread Marcos Douglas
that only if the program is local. +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Error: rxnew 2.6.5.152: Component Class TDBDateEdit already defined

2015-01-02 Thread Marcos Douglas
do not put a Rx prefix in all components? Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Error: rxnew 2.6.5.152: Component Class TDBDateEdit already defined

2015-01-02 Thread Marcos Douglas
this thread at the forum. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Log4D weirdness

2015-01-01 Thread Marcos Douglas
On Thu, Jan 1, 2015 at 2:39 PM, Marco van de Voort mar...@stack.nl wrote: On Thu, Jan 01, 2015 at 01:04:22AM -0200, Marcos Douglas wrote: This is totally new for me. I have used interfaces a lot, and while I had trouble from time to time, I haven't really encountered these. New? What do

Re: [Lazarus] Log4D weirdness

2014-12-31 Thread Marcos Douglas
On Wed, Dec 31, 2014 at 6:56 PM, Marco van de Voort mar...@stack.nl wrote: On Sun, Dec 28, 2014 at 07:51:25PM -0200, Marcos Douglas wrote: Delphi. As a first try I remove the const, in case of unexpected trouble. Delphi and FPC have problems with refcounting -- but I'm referring only

Re: [Lazarus] Log4D weirdness

2014-12-28 Thread Marcos Douglas
-- but I'm referring only interfaces. Circular references is a big problem too. This link could help: http://blog.synopse.info/post/2012/06/18/Circular-reference-and-zeroing-weak-pointers Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus

[Lazarus] AWS Lib - Object Pascal library for the Amazon Web Services

2014-12-27 Thread Marcos Douglas
want, just implement the interfaces. The classes are sealed to encourage decorator pattern, not inheritance. Improvements will come and comments are welcome. Thank you. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Only VCL-compatible components in LCL

2014-12-12 Thread Marcos Douglas
idea. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] ODBC

2014-11-25 Thread Marcos Douglas
On Tue, Nov 25, 2014 at 1:28 PM, Larry Dalton larrydalto...@gmail.com wrote: Is anyone successfully using Lazarus with .dbf files connected by ODBC? Sent from my iPhone I'm using TDbf component. Works fine. Marcos Douglas -- ___ Lazarus mailing

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marcos Douglas
On Fri, Nov 14, 2014 at 10:05 AM, Reimar Grabowski reimg...@web.de wrote: On Thu, 13 Nov 2014 13:26:32 -0300 Marcos Douglas m...@delfire.net wrote: Hi, Take a look in Greyhound project: https://github.com/mdbs99/Greyhound I did and could not see how it helps. It has a code that working

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marcos Douglas
On Fri, Nov 14, 2014 at 10:15 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, Reimar Grabowski wrote: On Thu, 13 Nov 2014 13:26:32 -0300 Marcos Douglas m...@delfire.net wrote: Hi, Take a look in Greyhound project: https://github.com/mdbs99/Greyhound I did

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marcos Douglas
On Fri, Nov 14, 2014 at 10:39 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, Marcos Douglas wrote: On Fri, Nov 14, 2014 at 10:15 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, Reimar Grabowski wrote: On Thu, 13 Nov 2014 13:26:32

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marcos Douglas
. If you do not put the value, automatically, on register that you included... what the point? IMHO this is not a general code. The user can implements the same but he will need to put the value on record... manually. The code I showed before works in any DMBS. Just test it. Best regards, Marcos Douglas

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marcos Douglas
On Fri, Nov 14, 2014 at 11:11 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, Marcos Douglas wrote: On Fri, Nov 14, 2014 at 10:39 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, Marcos Douglas wrote: On Fri, Nov 14, 2014 at 10:15 AM

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marcos Douglas
On Fri, Nov 14, 2014 at 11:43 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, Marcos Douglas wrote: By the very nature of the problem: GetLastAutoIncValue simply cannot be implemented in general. In firebird, postgres, these values are generated using

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marcos Douglas
On Fri, Nov 14, 2014 at 2:11 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, Marcos Douglas wrote: Your remarks sound like maybe you don't understand/know exactly what RETURNING does ? It was invented exactly to deal with such things. AFAIK RETURNING is a SQL

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-13 Thread Marcos Douglas
an example using last id: https://github.com/mdbs99/Greyhound/blob/master/test/ghsqltest.pas#L285 Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] lazarus.pp(142, 1) Error: Undefined symbol: DEBUGINFO_DBF_PRSCORE

2014-10-21 Thread Marcos Douglas
On Tue, Oct 21, 2014 at 3:53 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Marcos Douglas m...@delfire.net hat am 21. Oktober 2014 um 03:32 geschrieben: [...] I did: 1- make distclean in FPC 2.6.5 2- make distclean in Laz Use make clean all at 2 to build all common tools . Ok

[Lazarus] lazarus.pp(142, 1) Error: Undefined symbol: DEBUGINFO_DBF_PRSCORE

2014-10-20 Thread Marcos Douglas
: DEBUGEND_DBF_LANG lazarus.pp(142,1) Error: Undefined symbol: DEBUGINFO_DBF_IDXCUR lazarus.pp(142,1) Error: Undefined symbol: DEBUGSTART_DBF_IDXCUR lazarus.pp(142,1) Error: Undefined symbol: DEBUGEND_DBF_IDXCUR -- Marcos Douglas -- ___ Lazarus mailing

Re: [Lazarus] lazarus.pp(142, 1) Error: Undefined symbol: DEBUGINFO_DBF_PRSCORE

2014-10-20 Thread Marcos Douglas
On Mon, Oct 20, 2014 at 6:03 PM, Marcos Douglas m...@delfire.net wrote: Hi, I got these errors below when the compiler is __linking__ the IDE. Lazarus 1.3 rev 46626 FPC 2.6.5 i386-win32-win32/win64 Build IDE: Exit code 2, Errors: 48 lazarus.pp(142,1) Error: Undefined symbol

Re: [Lazarus] New feature: Auto complete class interfaces methods

2014-06-21 Thread Marcos Douglas
menu: Source / Refactoring / Abstract Methods The appearing dialog will show the missing methods of IUnknown and with a further click it creates empty methods. Great! Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Marcos Douglas
WOW! Great job!! Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TGDBMIDebuggerInstruction: -file-exec-and-symbols ,

2014-04-24 Thread Marcos Douglas
On Wed, Apr 23, 2014 at 3:57 PM, Martin Frb laza...@mfriebe.de wrote: On 23/04/2014 19:29, Marcos Douglas wrote: On Fri, Apr 18, 2014 at 8:04 PM, Martin Frb laza...@mfriebe.de wrote: On 18/04/2014 23:48, Martin Frb wrote: On 18/04/2014 17:09, Marcos Douglas wrote: On Thu, Apr 17, 2014

Re: [Lazarus] TGDBMIDebuggerInstruction: -file-exec-and-symbols ,

2014-04-23 Thread Marcos Douglas
On Fri, Apr 18, 2014 at 8:04 PM, Martin Frb laza...@mfriebe.de wrote: On 18/04/2014 23:48, Martin Frb wrote: On 18/04/2014 17:09, Marcos Douglas wrote: On Thu, Apr 17, 2014 at 11:40 AM, Martin Frb laza...@mfriebe.de wrote: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips

Re: [Lazarus] TGDBMIDebuggerInstruction: -file-exec-and-symbols ,

2014-04-18 Thread Marcos Douglas
On Thu, Apr 17, 2014 at 11:40 AM, Martin Frb laza...@mfriebe.de wrote: On 17/04/2014 04:46, Marcos Douglas wrote: Hi, I'm using FPC 2.6.5 (fixes_2_6) and Lazarus trunk on Windows. The GDB is updated too, here: http://svn.freepascal.org/svn/lazarus/binaries/i386-win32/gdb I run my program

[Lazarus] TGDBMIDebuggerInstruction: -file-exec-and-symbols ,

2014-04-16 Thread Marcos Douglas
debugging may prove unreliable. Could you help me? Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-18 Thread Marcos Douglas
On Mon, Mar 17, 2014 at 5:55 PM, Joao Morais l...@joaomorais.com.br wrote: Em 17/03/14 16:28, Marcos Douglas escreveu: On Mon, Mar 17, 2014 at 3:12 PM, Joao Morais l...@joaomorais.com.br wrote: Em 15/03/14 22:47, Marcos Douglas escreveu: So, what the best way to substitute PostMessage

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-18 Thread Marcos Douglas
On Tue, Mar 18, 2014 at 1:52 PM, Joao Morais l...@joaomorais.com.br wrote: Em 18/03/14 10:47, Marcos Douglas escreveu: a form needs to notify many windows using asynchronous messages. PostMessage do that but some programmers say this is an old Windowish approach so, I'm searching another

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-18 Thread Marcos Douglas
On Tue, Mar 18, 2014 at 10:04 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Marcos Douglas schrieb: The requisites isn't a secret: a form needs to notify many windows using asynchronous messages. PostMessage do that but some programmers say this is an old Windowish approach so, I'm

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-17 Thread Marcos Douglas
On Mon, Mar 17, 2014 at 6:56 AM, Michael Schnell mschn...@lumino.de wrote: On 03/16/2014 02:47 AM, Marcos Douglas wrote: Like all Windows programmer, I use PostMessage/SendMessage a lot. Lazarus team has created Application.QueueAsyncCall method to substitute the (old) Windowish method todo

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-17 Thread Marcos Douglas
On Mon, Mar 17, 2014 at 11:11 AM, Michael Schnell mschn...@lumino.de wrote: On 03/17/2014 01:31 PM, Marcos Douglas wrote: Yes, but the QueueAsyncCall needs to know what procedure to call for a especific object (instance) I don't understand. The definition of the function (I use

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-17 Thread Marcos Douglas
TThread.Queue is new, but I never used... maybe you can explain me what advantages, please. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-17 Thread Marcos Douglas
can free itself and return to the caller of the function just as if this function would be another destructor. Could you send the sources of this test? Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-17 Thread Marcos Douglas
On Mon, Mar 17, 2014 at 2:25 PM, Michael Schnell mschn...@lumino.de wrote: On 03/17/2014 05:42 PM, Marcos Douglas wrote: Could you send the sources of this test? I could if you are interested. This is a testing project I did for the development of Widget Types (with and without GUI

Re: [Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-17 Thread Marcos Douglas
On Mon, Mar 17, 2014 at 3:12 PM, Joao Morais l...@joaomorais.com.br wrote: Em 15/03/14 22:47, Marcos Douglas escreveu: So, what the best way to substitute PostMessage? Maybe using QueueAsyncCall + IFPObserved/IFPObserver? Have you tried decoupling your classes with interfaces? I thought

[Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-15 Thread Marcos Douglas
? Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Threads and Libraries (dll and so)

2014-01-17 Thread Marcos Douglas
tied tp the calling process (thread ?). There will be no problems if the DLL is thread-safe, ie, is better not use global variables in the DLL. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] File Download using INDY 10 with Lazarus with Progress bar

2014-01-17 Thread Marcos Douglas
/download-a-file-from-internet-programatically-with-an-progress-event-using-delph http://stackoverflow.com/questions/13641055/download-file-progressively-using-tidhttp http://goo.gl/30oXdu Marcos Douglas -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Threads and Libraries (dll and so)

2014-01-17 Thread Marcos Douglas
On Fri, Jan 17, 2014 at 10:23 AM, Michael Schnell mschn...@lumino.de wrote: On 01/17/2014 01:25 PM, Marcos Douglas wrote: is better not use global variables in the DLL. Of course I agree. A reason for using global variables in a DLL might be to access that value as well in the DLL

Re: [Lazarus] Threads and Libraries (dll and so)

2014-01-17 Thread Marcos Douglas
On Fri, Jan 17, 2014 at 12:38 PM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Marcos Douglas wrote: But why do you need a global var in the DLL? IMHO (and for many programmers around the world), global var is not good, even in the application code. Although I think

[Lazarus] Bugtracker for non-Lazarus developer core

2014-01-05 Thread Marcos Douglas
if someone is working on the same bug? Thank you. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Bugtracker for non-Lazarus developer core

2014-01-05 Thread Marcos Douglas
On Sun, Jan 5, 2014 at 1:43 PM, Martin Frb laza...@mfriebe.de wrote: On 05/01/2014 15:33, Marcos Douglas wrote: Hi, I wonder if there is some mechanism in Bugtracker, for developers who are not part of Lazarus core, know if has somebody is working (Lazarus developer or not) in some bug

Re: [Lazarus] Bugtracker for non-Lazarus developer core

2014-01-05 Thread Marcos Douglas
On Sun, Jan 5, 2014 at 1:43 PM, Sven Barth pascaldra...@googlemail.com wrote: On 05.01.2014 16:33, Marcos Douglas wrote: Hi, I wonder if there is some mechanism in Bugtracker, for developers who are not part of Lazarus core, know if has somebody is working (Lazarus developer or not) in some

Re: [Lazarus] OT: Happy new year!

2013-12-31 Thread Marcos Douglas
Happy new year from Brasil 00:23. Marcos Douglas Em 31/12/2013 22:16, Richard Mace richard.m...@gmail.com escreveu: Same from me 00:14 from UK :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-28 Thread Marcos Douglas
companies opted to rewrite there Delphi projects in C# and Java... I agree. I see this here in Brazil too. So, if the companies prefer to rewrite everything to another language, this is another prove that people do not want compatibility with Delphi (so much). Regards, Marcos Douglas

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 6:18 AM, Martin Schreiber mse00...@gmail.com wrote: On Friday 27 December 2013 21:10:39 Marcos Douglas wrote: Resume: MSElang do no allow to cancatenate different string types (must be explicitely converted) Correct. and the RTL does not will use string8. Wrong

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 10:19 AM, Florian Klämpfl flor...@freepascal.org wrote: Am 28.12.2013 13:02, schrieb Marcos Douglas: On Sat, Dec 28, 2013 at 9:41 AM, Florian Klämpfl flor...@freepascal.org wrote: Am 28.12.2013 11:01, schrieb Marcos Douglas: [...] So, if the companies prefer

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-28 Thread Marcos Douglas
was that they like Pascal as an easy to learn and mantain language then they will invest into migration even if not all parts are the identical to Delphi. Just the opposite: They may like that not all misconcepts are repeated in FPC/Lazarus and they may like that it is open source. +1 Marcos

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 9:04 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 28 Dec 2013, Marcos Douglas wrote: The close coupling of compiler and framework is necessary for a commercial software producer in order to optimize profit, opensource development does not need

  1   2   3   4   5   6   7   >